Building a Simple Contact Application with Forms and Gesturess
So far, we have explored how to allow our users to interact with a Flutter application by navigating from page to page, and by tapping on fields to change values or trigger dynamic changes. However, we have not explored how to handle one of the most common use cases of all applications: data entry.
You have undoubtedly used an application today that at least required you to input your username and password on a login screen before you could use any of the application’s core features. In this chapter, we will learn how to build forms by building a simple Contacts application that allows users to keep track of their network of friends and family members.
In this chapter, we will cover the following topics:
- Setting up the project
- Building forms the manual way
- Building complex forms using
Form
/FormField
widgets - Custom form validation
First, we will learn how to build forms manually using...