Summary
In this chapter, we have seen how gesture handling works in the Flutter framework, along with the methods for handling gestures, such as tap, double-tap, pan, and zoom, for example. We have seen some widgets that use GestureDetector
by themselves to handle gestures.
We then looked deeper at the life cycles of stateful widgets so that we could use this new knowledge to explore input widgets and access their data.
Finally, we extended this knowledge of input widgets by exploring the use of the Form
and FormField
widgets to properly validate and handle user data.
In the next chapter, you will put together the widget knowledge you have gained from the previous two chapters to create full app pages and navigate between them using the Route
concept.