-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to keep alive when there are multiple pages? #2
Comments
You should try AutomaticKeepAliveClientMixin. A reference to know how it works: https://medium.com/manabie/flutter-simple-cheatsheet-4370a68f98b3 |
Just tried this but it does not seem to work. Pages are being reinitialized every time. Edit: My bad, it works when I use AutomaticKeepAliveClientMixin with the widgets inside the Swiper, not the outer page. |
But if loop is true, AutomaticKeepAliveClientMixin will be not work. So how can i do ? |
@whichname : Please open another issue with some sample code to replicate. |
as title said.
The text was updated successfully, but these errors were encountered: