Questions
Hopefully, you found this chapter pretty exciting, especially at the end, where I showed you just how easy it is to add animation to Flutter. We are now exploring some interesting concepts that will make your app look banging!
However, some tricky sections are worth revisiting, so use these questions as a prompt to ensure you have understood all the content in this chapter:
- Can you remember what Matrix4’s
identity
looks like? - What are the three main transformations that can be used?
- Can you recall what the main controls of
AnimationController
are? - How would you modify your stateful class so that it can tell
AnimationController
when a new frame is being drawn to the device’s screen? - What is the purpose of curves within animations?
- What is the benefit of using
AnimatedBuilder
within your widget tree? - How do you trigger the animation of an
AnimatedContainer
orAnimatedFoo
class?