AnimationController
AnimationController
AnimationController class
AnimationController — Is a special Animation object that generates a new value whenever the hardware is ready for a new frame.
Lets you control the animation.
You can tell the controller to play the animation forward or stop the animation.
You can also fling animations, which uses a physical simulation, such as a spring, to drive the animation.
Once you’ve created an animation controller, you can start building other animations based on it.
AnimationController on api.flutter.dev