resetAnimation abstract method

void resetAnimation({
  1. Duration? duration,
  2. Duration? reverseDuration,
  3. Curve? curve,
  4. Curve? reverseCurve,
  5. int? repeats,
  6. bool? shouldReverseRepeats,
})

Used to change any of the global parameters fo the animation such as duration, reverseDuration, curve, reverseCurve, repeats and shouldReverseRepeats.

Change is taken instantaneously while the animation is playing

Implementation

void resetAnimation({
  Duration? duration,
  Duration? reverseDuration,
  Curve? curve,
  Curve? reverseCurve,
  int? repeats,
  bool? shouldReverseRepeats,
});