© Fu Cheng 2019
F. ChengFlutter Recipeshttps://doi.org/10.1007/978-1-4842-4982-6_11

11. Animations

Fu Cheng1 
(1)
Sandringham, Auckland, New Zealand
 

Animations play an important role in mobile apps to provide visual feedback for end users. This chapter covers recipes related to animations in Flutter.

11.1 Creating Simple Animations

Problem

You want to create simple animations.

Solution

Use AnimationController class to create simple animations.

Discussion

Animations in Flutter have a value and a status. The value of an animation may change over time. Animations are represented using abstract Animation<T> class. Animation class extends from Listenable class. You can add listeners to Animation objects to get notified for changes of value or status.

AnimationController ...

Get Flutter Recipes: Mobile Development Solutions for iOS and Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.