flutter-go-router Questions

1

Solved

I am currently using showGeneralDialog to present a dialog popup like this: This is all fine and good, but it happens at the root Navigator level, and I would rather have all my views as a Go Rout...
Nomen asked 9/3, 2023 at 21:39

2

In my Flutter app, I use go_router to navigate between pages. Here are the current pages in my app: accounts_page add_account_page import_accounts_page Now, I would like to implement nested navig...
Ancona asked 17/2, 2023 at 15:19

2

Solved

Using go_router : GoRouter.of(context).location gives us the current route path such as /product/10110 but I'd like to know how to also get the current route queryParams in a similar fashion (outs...
Travesty asked 30/12, 2022 at 10:27

0

I'm using go_router for navigation and flutter_bloc for my state management. I would like to use refreshListenable and listen to my AuthBloC events in my GoRouter configuration, however, I don't ha...

1

On iOS, when I click on a url, it opens my Flutter app but stays on the main screen. It does not go to the given page. For example, if the link is https://my-app.com/page1, the app will just go to ...
Haggai asked 7/11, 2022 at 14:17

1

I'm developing a web/desktop application that has a fairly standard UI layout involving a NavigationRail on the left and a content pane taking up the remainder of the screen. I've reciently added ...
Spirketing asked 23/10, 2022 at 12:52

2

Solved

I have been analyzing different navigator observers by 3rd party integrations (e.g., SentryNavigatorObserver, FirebaseAnalyticsObserver) to make identical for tools that don't have it by default. B...
Germayne asked 9/11, 2022 at 8:3

1

Solved

I am using the go_router package because I need the deep linking it provides. I applied animation transitions to some routes but they are static, so every time I go to that route, the same animatio...
Fusillade asked 17/10, 2022 at 2:50

2

On Flutter I would like to pass a local bloc to another screen. This is how I used to pass a bloc to a new route when using the default navigator. Navigator.of(context).push( MaterialPageRoute<...
Gwynethgwynne asked 5/10, 2022 at 7:6

1

I use to pass a BLoC instance to a new route like so : Navigator.of(context).push<void(FavoriteDetailPage.route(_favoriteBloc)); class FavoriteDetailPage extends StatelessWidget { const Favori...

1

Solved

I try to learn navigation on flutter using Go Router. If i tap the scan button it will move to scan screen. then if i go back it will return to main screen. the problem is when i tap the scan butto...
Bumptious asked 28/11, 2022 at 15:47

1

Solved

In the Flutter go_router package, there are apparently two ways of creating a new page, with either a builder or a pageBuilder: GoRoute( name: 'Route', path: '/route', builder: (BuildContext con...
Mellow asked 8/11, 2022 at 21:22

1

Solved

I've been reading through this latest implementation of Go Router with Riverpod but don't know how to use Firebase Authentication Streams with it, and I don't know if I need to be using refreshList...

© 2022 - 2024 — McMap. All rights reserved.