Skip to content
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

State was not preserved after navigation #29

Closed
boozy-ph opened this issue Oct 7, 2019 · 2 comments
Closed

State was not preserved after navigation #29

boozy-ph opened this issue Oct 7, 2019 · 2 comments

Comments

@boozy-ph
Copy link

boozy-ph commented Oct 7, 2019

I'm having state issue when changing route. Is this intentional?

Methods used were the following:

Navigator.of(context).pushNamed('/home');

// or

Navigator.of(context).pushNamedAndRemoveUntil(
                      '/home', (Route<dynamic> route) => false);
@escamoteur
Copy link
Collaborator

what do you mean by state issue? In which context to RxCommands?

@boozy-ph
Copy link
Author

boozy-ph commented Oct 7, 2019

My bad, I thought when using Navigator.of(context).pushNamedAndRemoveUntil the state was removed because previous route was removed as well. I just did hot restart and my app is working fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants