Chapter 6. Pushing pixels: Flutter animations and using the canvas
This chapter covers
- Using AnimatedWidget
- Using the canvas and the CustomPaint class
- The Paint class
- Animation controllers, tweens, and tickers
- SlideTransition, TweenSequence, and other convenience widgets
The built-in widgets you’ve seen so far are all about building a structural interface with Flutter. In this chapter, we’ll explore a couple of new widgets to create custom animations, as well as look at the Canvas widget. These widgets are used to tell Flutter exactly what we want it to paint on the screen. In particular, we’ll look at two things:
- Animations—In the weather app, almost every display widget on the screen will animate in some way. All the text will change ...
Get Flutter in Action 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.