What You Need to Build the UI: Navigation and the InheritedWidget

Before we actually build the UI for this app, we’re going to discuss two important things: how to navigate between multiple views in Flutter and how to use InheritedWidgets. This will be a general introduction to the options Flutter offers for navigation; we’ll only use some of these in the app. If you’d prefer to jump ahead to more advanced navigation, take a look at Build the App’s Basic UI and then come back here when you want to learn about how to implement navigation in Flutter apps.

Navigation in Flutter

Flutter offers multiple options for navigating between views:

  • push/pop navigation, useful when there is a home page and many pages accessible from it, potentially using ...

Get Programming Flutter now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.