Questions
This chapter has drawn on a lot of knowledge and concepts from previous chapters, so take some time to review how much of this you have retained through these questions. As mentioned previously, if you struggle with any of the questions, then revisit the relevant sections of this chapter to refresh your knowledge:
- What are the two layers in Flutter’s gesture system?
- We explored six different types of gestures. Can you name and define them?
- There is a specific widget that allows us to be notified of user gestures. What is the name of this widget?
- What are the three main life cycle methods of a stateful widget?
- Name the method that allows you to identify whether a widget is still on the widget tree.
- Describe the two ways to be notified of
TextField
state changes. - What additional functionality does
FormField
bring to an input field? - Explain how to use the two different ways you can get the state of
Form
.