Flutter Web GoRouter – chrome refresh issue
I have a flutter app for mobile and I am porting it to web. I have implemented the Go Router package. I have singleton classes in my code which save the login info so that I can access them later on dashboard etc. The chrome refresh works fine on login screen but after login on dashboard I get the red screen with unexpected null value text.
How to set router.pop() properly in GoRouter when using ShellRoute
In my project I am using go_router: ^12.1.3
. I am having trouble with the back button while using router.pop()
/context.pop()
.
Double tap to exit – GoRouter
How can we implement double tap to exit in Flutter app using GoRouter?