$new static method

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

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Drawer.wrap(Drawer(
    key: args[0]?.$value,
    backgroundColor: args[1]?.$value,
    elevation: args[2]?.$value,
    shadowColor: args[3]?.$value,
    surfaceTintColor: args[4]?.$value,
    width: args[5]?.$value,
    child: args[6]?.$value,
    semanticLabel: args[7]?.$value,
  ));
}