$new static method

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

Creates a new instance of $Row from args

Implementation

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