chapter six
6 Pushing Pixels: Flutter Animations and using the Canvas
In this chapter:
- Using the AnimatedWidget
- Using the canvas and CustomPaint class
- The Paint class
- AnimationControllers, Tweens, and Tickers
- TweenSequence class
- SlideTransition and other convenience widgets
Once again, I’m going to start by gushing about Flutter. The built-in widgets you’ve used so far has shown how easy it is to build an interface with Flutter. But, as I’ve said too many times, one of the best things about Flutter is how much control it gives you if you want it. And that’s what we’re going to talk about in this chapter. Using custom animations and the canvas, we’re going to tell Flutter exactly what we want it to paint. In particular, I’ll focus on two things: