Flutter Web and Navigation History
Published in
4 min readSep 26, 2020
Flutter Web and Navigation History
How to know the navigation history in Flutter Web? Hmm…
All in one Flutter resource: https://flatteredwithflutter.com/flutter-web-and-navigation-history/
Begin…
View the demo here
Website: https://web.flatteredwithflutter.com/#/
We will cover briefly about
- Storing navigation routes
- Implement navigatorObservers
1. Storing navigation routes
It's quite clear, we need a data structure for storing routes.
Thought process: When we navigate between different links in a browser, the last link is usually the first to be traced back (on click of the back button).