Relative Content

Tag Archive for flutterflutter-go-routergorouter

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.