Relative Content

Tag Archive for flutterdartrouterflutter-go-routergorouter

How to make an exception in the router for not saving state?

I have a problem. The problem is that I cannot make an exception for one branch so that it does not save state. I use gorouter and did it via StatefulShellRoute.indexedStack. The page itself that I go to is the cart and it is in the nested navigation. Is there a way to throw an exception for not saving the state of a branch?