$new static method

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

Creates a new instance of $Column from args

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Column.wrap(Column(
    key: args[0]?.$value,
    mainAxisAlignment: args[1]?.$value ?? MainAxisAlignment.start,
    mainAxisSize: args[2]?.$value ?? MainAxisSize.max,
    crossAxisAlignment: args[3]?.$value ?? CrossAxisAlignment.center,
    verticalDirection: args[4]?.$value ?? VerticalDirection.down,
    textBaseline: args[5]?.$value,
    children: (args[6]?.$reified as List).cast(),
  ));
}