$new static method

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

Create a new instance of $Center from args

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Center.wrap(Center(
    key: args[0]?.$value,
    widthFactor: args[1]?.$value,
    heightFactor: args[2]?.$value,
    child: args[3]?.$value,
  ));
}