How to Store a MaterialPageRoute for later use
I have a mobile app where i want to keep count of the number of times each page in my app is visited, and later load the page that the user visits the most. I have a RouteObserver
that observes which Route is pushed into the view.I was wondering if I can just save the state of the MaterialPageRoute
into some db and pass it into a Navigator
later on. How should I go approach this?
URL not updating in nested Navigator in Flutter
I’m working on a Flutter application where I have a main Navigator
and a nested Navigator
within a SetupFlow
widget. The URL updates correctly for the first-level routes but does not change for the second-level routes within SetupFlow
.