Summary
In this chapter, we learned how to change our widget’s 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 also saw the important framework classes – that is, AnimationController
, CurvedAnimation
, and Tween
. We revisited our Transformation
examples and added animations to them by using the concepts learned in this chapter. Next, we learned 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 program and...