$withBrightness static method

$Value? $withBrightness(
  1. Runtime runtime,
  2. $Value? thisValue,
  3. List<$Value?> args
)

Wrapper for the CupertinoDynamicColor.withBrightness constructor

Implementation

static $Value? $withBrightness(
  Runtime runtime,
  $Value? thisValue,
  List<$Value?> args,
) {
  return $CupertinoDynamicColor.wrap(
    CupertinoDynamicColor.withBrightness(
      debugLabel: args[0]?.$value,
      color: args[1]!.$value,
      darkColor: args[2]!.$value,
    ),
  );
}