resetAnimation method
Implementation
@protected
void resetAnimation() {
if (controller.isAnimating) {
controller.stop();
controller.reset();
animation?.removeListener(onAnimate);
animation = null;
}
if (scaleController.isAnimating) {
scaleController.stop();
scaleController.reset();
scaleAnimation?.removeListener(onScaleAnimate);
scaleAnimation = null;
}
afterAnimate();
}