animate method

void animate()

Implementation

void animate() {
  widget.onStartAnimate?.call();
  animationController.stop();
  animationController.value = 0;
  animationController.forward();
}