resetAnimation abstract method

void resetAnimation({
  1. Tween<T>? tween,
  2. Map<String, Tween<Object?>>? tweenMap,
  3. Duration? duration,
  4. Curve? curve,
  5. int? repeats,
  6. int? cycles,
})

The state of Animator widget.

From the parameter defined in the Animator widget, it instantiates the animation.

Implementation

void resetAnimation({
  Tween<T>? tween,
  Map<String, Tween>? tweenMap,
  Duration? duration,
  Curve? curve,
  int? repeats,
  int? cycles,
});