-
Notifications
You must be signed in to change notification settings - Fork 267
Description
Project Name
flutter_modular
Is your feature request related to a problem? Please describe.
maintainState
is a property of MaterialPageRoute. I use this for my project and would like to use it for named routes in Flutter Modular as well. The problem is that state is always maintained in the navigation stack.
Describe the solution you'd like
Support for maintainState
Describe alternatives you've considered
I've tried just using push with the MaterialPageRoute, but then it doesn't get added to the stack as a named route so popUntil
won't work for example.
Additional context
Add any other context or screenshots about the feature request here.
Screenshots
If applicable, add screenshots or videos to help explain your problem.
Thanks for your help. Looking for any way to use maintainStatein in named routes.