Questions
This chapter presented several options to you both for navigation and state management. Although you are unlikely to choose to use all of the options in every app, you must be aware of what is available to you so that you can make informed decisions. As mentioned previously, if you struggle with any of the questions, then revisit the relevant sections of this chapter to refresh your knowledge:
- Describe the different styles of Navigator 1.0 versus Navigator 2.0.
- How do you retrieve the
Navigator
instance? - Name the two main page route class types.
- Explain the benefits and drawbacks of using named routes.
- How would you pass a result back from a route?
- What two main parameters does
PageRouteBuilder
take? - Name some of the ways to pass state between widgets.