Summary
In this chapter, we got to know how to change our widgets' look by using the Transform
class and its available transformations, such as scaling, translating, and rotating. We also saw how we can compound transformations by using the Matrix4
class directly.
We learned the fundamental concepts of animation and how to apply them to child widgets to make changes smooth and dynamic.
We saw the important AnimationController
, CurvedAnimation
, and Tween framework classes
. We also revisited our Transformation
examples and added animations to them by using the concepts learned in this chapter. Finally, we saw how to create our own custom Tween
objects, and we looked at how to clean up our code through the use of the AnimatedBuilder
widget.
Lastly, we saw the AnimatedFoo
classes that have animation embedded inside them, allowing you to develop slick animations without complicated code.
In the next chapter, we will look at the app as a whole, complete program and at how...