resetAnimation abstract method
void
resetAnimation({})
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,
});