Flutter GoRouter: ShellRoute with Subroutes
I am currently developing a flutter application using the go_router package.
Unexpected route path when working with StatefulShellRoute.indexedStack in go_router
I am using StatefulShellRoute.indexedStack of go_router.
The issue is when I am trying to go to the route ‘extra’, I can see the route path getting printed correctly, in the order –
PATH: /
PATH: /terms-of-service
PATH: /terms-of-service/extra
context.go() not removing navigation stack (Flutter Web)
When I come back from second screen to home screen, It should be not possiblity to come back to second sreen by back button in home screen.
Flutter x GoRouter: context.pop() is rebuilding the previous page?
I’m running into an issue where when I attempt to go “back” via Navigator.pop(context) or Navigator.of(context).pop, the previous page attempts to rebuild in GoRouter, causing an error because I’m not passing in the required parameters. I thought flutter navigation kept the build/state of previous pages… not having that defeats the entire point of the nav stack.
Flutter x GoRouter: context.pop() is rebuilding the previous page?
I’m running into an issue where when I attempt to go “back” via Navigator.pop(context) or Navigator.of(context).pop, the previous page attempts to rebuild in GoRouter, causing an error because I’m not passing in the required parameters. I thought flutter navigation kept the build/state of previous pages… not having that defeats the entire point of the nav stack.