Summary
In this chapter, we learned how to build a form manually using TextField
widgets. Then, we learned how to reduce some of the boilerplate that we introduced by using the Form
and FormField
widgets. Finally, we rounded out our Contacts application by learning how to validate the Contact form using custom validation and updating our contacts when the form has been successfully validated.
You should now have a clear understanding of how to build an application that collects information by using input fields and forms.
In the next chapter, you will learn how to build declarative animations that give your application a unique feel.