Explicit animations

What are explicit animations?

Animation concepts

What is animation?
Example: bouncing ball (starter code 1)
Frame rate
Example: bouncing ball (starter code 2)
Interpolation
Example: bouncing ball (starter code 3)

AnimationController

What is an AnimationController?
Create your first explicit animation with AnimationController

1. Use a TickerProvider mixin
2. Instantiate and dispose of AnimationController in lifecycle methods
3. Pass AnimationController parameters
4. Add listener(s)
5. Trigger the animation


AnimationController concepts

The Animation object
AnimationController interpolates frame values
AnimationController doesn’t know anything about the UI

Curves

Tweens

AnimatedBuilder

AnimatedWidget