Use this tag for questions about the Flutter's go_router package.
Questions tagged [flutter-go-router]
266 questions
0
votes
0 answers
How to clean Navigation stack in go_router
My rout is this. leading/login/home.
It is just testing so I use push() from leading to login.
And I use pushReplacementNamed() from login to home.
Question 1:
If I use go() will it leave stack of route in navigation stack.
Question 2:
I want to…
0
votes
0 answers
Issue with go_router and Bottom Navigation not updating selected screen
I am using the go_router package in my Flutter application to handle navigation, along with a Bottom Navigation Bar. The navigation works correctly, but I'm facing an issue with the Bottom Navigation Bar not updating the selected screen when…

seddka
- 105
- 12
0
votes
2 answers
How to open dialog above all screens in flutter, when using go_router?
final GlobalKey navigatorKey = GlobalKey();
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return BlocProvider(
…

Evgen
- 77
- 6
0
votes
0 answers
Flutter & Supabase can't redirect user back to splash screen after Google Auth w/ deeplink & go_router
Hi I have been trying to solve this problem of mine where after the user authenticates and is redirected back to my app through deeplink they are redirected back to whatever screen they were on (signin page in this case) instead of going into the…

jmsandiegoo
- 413
- 4
- 14
0
votes
0 answers
GoRouter module oriented
I'm studying some new packages and I got to know the go router, but I would like to use it in a simpler way, that is, guided by modules according to the structure of the project and source…

James Hunt
- 3
- 2
0
votes
0 answers
deep linking working correctly on debug mode but not redirecting correctly on desired page in release mode. (Flutter)
Deep linking working finely on debug mode but on release mode the deep link only opens the app but not redirecting on desired page. Issue only exist in debug mode. Here is my project manifest and routes.
```
…
0
votes
1 answer
Persistent Navigation rail in flutter
I am facing issue in integrating persistent navigation rail with nested go router in flutter web, please let me know how to do it. I have applied all necessary code but still could not find it.
I am expecting persisting Navigation rail while nesting…
0
votes
0 answers
Flutter Go Router: Can I limit the size of the navigation stack?
I made an app that pushes a route to the navigation stack for every route. It was because my clients required to go back a few pages for their use case ie. fill a form, navigate somewhere else and to add new data and come back to the form. It works…

stokedoverflow
- 11
- 2
0
votes
1 answer
The getter 'params' isn't defined for the type "GoRouterState" Flutter
I am trying to resolve the issue with getter, error message:
The getter 'params' isn't defined for the type 'GoRouterState'.
Try importing the library that defines 'params', correcting the name to the name of an existing getter, or defining a…

Elena Epshtein
- 87
- 1
- 8
0
votes
0 answers
Flutter - android deep linking equivalent of base-href
I've got a flutter app served for web at somedomain/somepath/. I get it to work correctly for web by setting --base-href=/somepath/ when building it. This way, I can open links to the app that have this url structure somedomain/somepath/#/someroute…

raquelhortab
- 430
- 4
- 13
0
votes
1 answer
go_router , how to pass parameter as bool or int with query parameter?
here is how i pass parameter as queryParameter , it accept all types , :
routes.goNamed(
'confirm',
queryParameters: {
'isLogin': true,
},
);
but here when i want to get that parameter i need to parse that to…

vrMan
- 101
- 1
- 1
- 6
0
votes
1 answer
Keep history navigation in child tab with flutter and NavBar and go router
I would like to know how can I keep history navigation in child on tab from NavBar.
Currently I follow this post to create a navigation with NavBar.
I would like to keep the history when I navigate in the tab (Home => FeedPeople => FeedPeople =>…

Jérémie Chazelle
- 1,721
- 4
- 32
- 70
0
votes
0 answers
GoRouter deep link resets the url
I am currently switching the routing in my flutter web app to use GoRouter, everything works fine but when I try to use a deep link, for example:
localhost:68234/#/sessions/e0705f4b-1b1f-4817-9218-0821aa7c6eec
The URL goes to the correct page and…

Ahmed
- 43
- 7
0
votes
0 answers
How do I use GoRouter with urls that need to access async functions?
I have a Flutter app which uses Firebase. I started using Go Router recently.
One of the requirements that I have is to verify email. This will send an email to the user with a link inside it.
When the link is clicked by the user, The redirect…

Aimn Blbol
- 907
- 11
- 20
0
votes
1 answer
How do I utilize subroutes with Flutter's "go_router" package properly?
I'm trying to navigate to a "DetailsPage" by clicking on a user's correspondent ListTile, within a ListView.builder.
But when I click on the tile I get theses exceptions:
Exception: Match error found during build phase
Exception: no routes for…

Gustavo Ramos
- 1
- 1