The SAVE button

The SAVE button will be responsible for validating and saving new favor requests. Saving will be covered in Chapter 8Firebase 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.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.156.80