$new static method

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

Instantiate a new $Icon from args

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $Icon.wrap(Icon(
    args[0]!.$value,
    key: args[1]?.$value,
    size: args[2]?.$value,
    color: args[3]?.$value,
    semanticLabel: args[4]?.$value,
    textDirection: args[5]?.$value,
  ));
}