Replies: 2 comments
-
I just did a test project, comparing https://github.com/busslina/beamer-rearch-state-preserving-test |
Beta Was this translation helpful? Give feedback.
-
Solved. The issue was simpler than I thought. Was related to route path convention. Beamer says it is declarative, so it only maintain parent state if we stay on its path subtree. EG: Moving from |
Beta Was this translation helpful? Give feedback.
-
You can see here:
So I'm not being able to maintain my index screen state when navigating to another screen (push) and then going back to index (pop). I have been thinking that maybe Beamer is meant to work with
StatefulWidget
s andState
s.So maybe
flutter_rearch
needs a suported routing library for this particular scenario (preserving state).What do you think?
Beta Was this translation helpful? Give feedback.
All reactions