$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 $AppBar.wrap(AppBar(
    leading: args[0]?.$value,
    automaticallyImplyLeading: args[1]?.$value ?? true,
    title: args[2]?.$value,
    actions: (args[3]?.$reified as List?)?.cast(),
    flexibleSpace: args[4]?.$value,
    bottom: args[5]?.$value,
    elevation: args[6]?.$value,
    shadowColor: args[7]?.$value,
    backgroundColor: args[8]?.$value,
  ));
}