146 questions
Score of 0
0 answers
181 views
How can I disable automatic routing of go_router in app
In the Flutter app, I use go_router for navigation purposes. I have deeplinking in the application, but I want to handle it myself due to some concerns. For this I want to disable the automatic ...
Score of 1
1 answer
104 views
Redirect doesn’t fire reliably after logout/login with StreamProvider user profile
I’m building a Flutter app using go_router + Riverpod + Firebase Auth + Firestore (for user profiles). I’m trying to drive navigation/redirects based on:
Firebase auth state (logged in / logged out / ...
Score of 3
0 answers
69 views
Flutter GoRouter Back to previous branch
I have a question regarding GoRouter library for flutter.
Does anyone know how to navigate from branch 1 (City screen) to branch 2 (Venue screen) using GoRouter, so that the branch actually changes, ...
Score of 0
1 answer
111 views
GoRouter redirect to initialLocation after riverpod rebuild
I'm experiencing an issue where my Flutter app redirects users to the home page after a successful 401 token refresh, instead of keeping them on their current route. This happens when using GoRouter ...
Score of 0
1 answer
108 views
Flutter GoRouter.go does not work after Navigator.push
To reproduce:
Do Navigator.of(context).push(MaterialRoute(builder: (_) => SomePage);
Do GoRouter.of(context).go('/anywhere')
Expected result:
You see the page at /anywhere.
Actual result:
You ...
Score of 0
1 answer
343 views
Go_Router Codec Extra parameters don't modify data when popped
How do I edit the values passed as extra parameters in the go_router via codec?
Can I modify this object and pass the modifications back with go_router other than as a popped object?
edit: found this ...
Score of 0
1 answer
53 views
Can't Hot Reload to get new routes added to GoRouter
I have this global GoRouter
GoRouter appRouter = GoRouter(
routes: [
GoRoute(
path: '/sign-in',
builder: (context, state) => SignInScreen(),
),
],
);
and I am using the global ...
Score of -1
1 answer
144 views
How to navigate multiple nested pages with deeplink
On handling notification about new message in chat and when app is terminated i need to build multiple screens with "Chat" page on top of the stack.
For that I need to build "Home" ...
Score of 1
1 answer
279 views
How to navigate to first/default route of GoRouter StatefulShellBranch
I'm using a StatefulShellRoute with StatefulShellBranches as in the code below.
I would like to achieve the following: when I am inside a route in a StatefulShellBranch I want to navigate to the first/...
Score of 1
0 answers
176 views
Flutter GoRouter: ShellRoute with Subroutes
I am currently developing a flutter application using the go_router package.
At the base there is one Shellroute with 4 routes in total. So this is the main screen containing a "Home", "...
Score of 1
1 answer
87 views
Flutter app restarts after saving code with "Ctrl+S" when using go_router
I'm developing a Flutter app using go_router for navigation, and I'm encountering an issue during development when I save my code using "Ctrl+S". The page unexpectedly reloads, and the app ...
Score of 1
1 answer
526 views
How can I navigate to a new screen from a dialog using GoRouter?
I am using GoRouter for route navigation which is implemented correctly and works fine for all route navigation. To navigate back to the previous screen, I require user confirmation. For this, I am ...
Score of 1
0 answers
484 views
Go exception: No routes for location error
I am getting the following error: GoException: no routes for location: com.googleusercontent.apps.1052157635-94tcrdep4q1r9g3gvi5dvllrejmali://firebaseauth/link?deep_link_id=https%3A%2F%2Ftonns-a06e3....
Score of 0
1 answer
44 views
how to re-call initalState when change bottomtabnavigation with gorouter flutter?
When I start the application, I go to the home screen (call the home screen api) => switch to another tab (call that screen api) => go back to the home screen (currently not calling the api ...
Score of 1
1 answer
131 views
Router resets to app initial page when hitting the browser refresh button
Flutter versiom: 3.24.3
GoRouter version: 14.3.0
Browser: Chrome
I am using a shell route with the default hash strategy as follows (Partial route tree):
ShellRoute(
redirect: (...