$new static method

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

Implementation

static $Value? $new(Runtime runtime, $Value? target, List<$Value?> args) {
  return $AnimationController.wrap(AnimationController(
    value: args[0]?.$value,
    duration: args[1]?.$value,
    reverseDuration: args[2]?.$value,
    debugLabel: args[3]?.$value,
    lowerBound: args[4]?.$value ?? 0.0,
    upperBound: args[5]?.$value ?? 1.0,
    animationBehavior: args[6]?.$value ?? AnimationBehavior.normal,
    vsync: args[7]?.$value,
  ));
}