The SAVE button will be responsible for validating and saving new favor requests. Saving will be covered in Chapter 8, Firebase Plugins, when we talk about Firebase integration.
The RequestFavorPage widget needs to be converted to a StatefulWidget as well, as we will need to hold information and manipulate the new favor requests with actions. This will be the place where we will store the favor later on Firebase.
Again, we use this to centralize all the favors-related actions, that are few in our app. Application architecture such as MVP, MVVM, or BloC could be the solution for a real application.