$new static method

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

Wrapper for Card.new using args

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Card.wrap(Card(
    key: args[0]?.$value,
    color: args[1]?.$value,
    shadowColor: args[2]?.$value,
    surfaceTintColor: args[3]?.$value,
    elevation: args[4]?.$value,
    margin: args[5]?.$value,
    clipBehavior: args[6]?.$value,
    semanticContainer: args[7]?.$value ?? true,
    child: args[8]?.$value,
  ));
}