Summary
In this chapter, we have seen how to add navigation between our screens. First, we got to know the Navigator widget, the main player when it comes to navigation in Flutter. We have seen how it composes the navigation stack or history by using the Overlay class.
We have also seen another important piece of navigation, Route, and how to define it for use in our applications. We checked out different approaches to implement the navigation, with the most typical way being with the WidgetsApp widget.
Finally, we have seen how to customize transitions between screens to change the default platform-specific moves from Material and iOS Cuperitno apps, and also how to use Hero animations to share elements between transitions to create cool ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access