Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
90 views

I’m trying to use relative routing in GoRouter, but I’m running into a confusing issue. Here is my code: final GoRouter routerConfig = GoRouter( initialLocation: '/', routes: [ GoRoute(path: '...
haizhih's user avatar
  • 109
0 votes
0 answers
68 views

I have been trying for quite a while to implement an animation similar to the Cupertino transition. I almost managed to create a parallax effect, but because the Hero animations refuse to work at all, ...
Maksim Sinitsyn's user avatar
0 votes
0 answers
118 views

Previously I have used go router for Flutter Web. That time my flutter version was 3.10.6 and the go router version of 6.4.0. In that time The project was configured in such a way so that in URL bar ...
Arnab Ghosh's user avatar
0 votes
0 answers
70 views

I’m using GoRouter with StatefulShellRoute and a custom bottom navigation bar in my Flutter app. When I navigate between tabs, the initState() of my HomeScreen does not get called again when I return ...
Akhil George's user avatar
  • 1,003
1 vote
0 answers
98 views

Below is the Manifest. <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mycompany.refereevision" xmlns:tools="http://schemas....
Ajoy Lawrence's user avatar
0 votes
0 answers
60 views

In the mobile application I developed with Flutter, I go to different screens from the home page. Then, when I go back to the home page, I need to dispose some providers. In the project, I am using a ...
AdylshaY's user avatar
0 votes
0 answers
36 views

I am using go_router to provide routing navigation in a flutter application. I have pages which are displayed as modal dialogs - hence they are 'barrier dismissable'. I want to prevent the user from ...
Adam's user avatar
  • 4,267
0 votes
0 answers
31 views

I’m using GoRouter and a global NavigatorKey. Sometimes, I see crashes in production logs where rootNavigatorKey.currentContext is null inside didChangeAppLifecycleState on both Android and iOS. I can’...
Linh's user avatar
  • 61.3k
0 votes
1 answer
84 views

Is there is a way to access the providers of the parent route? I installed go_router for my app. I am getting the error below when I am trying to get the instance of ProductsViewmodel to /products/add ...
aj go's user avatar
  • 724
0 votes
1 answer
68 views

GoRouter is complaining that I'm using a parameterized route as the default location, but I'm not. The default location of a StatefulShellBranch cannot be a parameterized route 'package:go_router/src/...
Chris B.'s user avatar
  • 91.2k
0 votes
0 answers
57 views

I’m facing a strange issue with go_router in my Flutter app. On a fresh install (right after installing the app), when I open the app for the first time, the screen stays blank and no widgets are ...
Sangramjit Samanta's user avatar
0 votes
2 answers
82 views

I'm new to Flutter and Dart. I'm using GoRouter and StatefulShellRoute (from https://codewithandrea.com/articles/flutter-bottom-navigation-bar-nested-routes-gorouter/) for a nested navigation using a ...
user1094553's user avatar
0 votes
1 answer
85 views

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 ...
ahahac's user avatar
  • 21
0 votes
0 answers
51 views

I have implemented deepLink on flutter with go_router package. Everything works fine on mobile app but when I try to open a link on the web using for example a QR code this does not work and I get ...
Alfredo Salvati's user avatar
2 votes
1 answer
115 views

I have a timer running on my main page, and I want to pause it when I navigate to another tab on my bottom nav bar and make it continue when navigating back. I use Go_Router Stateful Shell Navigation ...
Gaby Torres's user avatar
0 votes
1 answer
175 views

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 ...
Gaby Torres's user avatar
2 votes
1 answer
173 views

I've noticed that when I include final String _ = GoRouterState.of(context) in my Widget.build override, it will get notified of a change when navigating to a different page, forcing a unexpected ...
freebie's user avatar
  • 1,677
0 votes
0 answers
136 views

I'm using the go_router package in my Flutter app with a ShellRoute setup that holds a bottom navigation bar. The app routes look like this simplified version: final GlobalKey<NavigatorState> ...
Toxic Prince's user avatar
0 votes
0 answers
49 views

When using stateful navigation with go_router is there a way to have a centralized errorBuilder in case a unknow route gets called? I have tryed to use the error builder in the main GoRouter instance ...
fabio carvalho's user avatar
0 votes
1 answer
106 views

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" ...
1 vote
1 answer
211 views

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/...
kurtmarcink's user avatar
0 votes
0 answers
28 views

I'm making a full stack app with flutter and express.js, with go router for navigation, and my backend sends a password reset token to a user, which the user is meant to click and be directed to the &...
Alula48's user avatar
  • 49
0 votes
1 answer
151 views

Context I have a login page in my app that can be push from anywhere using pushNamed('auth'). On that page the user request a login email, which will contain a deeplink with his login token: `"/...
Nicolas Braun's user avatar
1 vote
0 answers
48 views

I have a mobile app which uses GoRouter as a routing package. For a simple list/detail structure of any entity it is clean. Let's say we have 2 bottom naviation items. GoRoute( path: '/locations' ...
BambinoUA's user avatar
  • 7,283
4 votes
3 answers
429 views

I am new to Flutter and facing a very strange issue: I have a simple Stateless Widget with a Custom App Bar, then a TextFormField and a button inside the Column. I am using go_router for the ...
Java Nerd's user avatar
0 votes
0 answers
84 views

I want to auto-track routes inside my app for better analytics. Inside my GetMaterialApp.router: navigatorObservers: [ FirebaseAnalyticsObserver( analytics: ...
Chris's user avatar
  • 2,404
0 votes
1 answer
54 views

main.dart: import 'package:firebase_core/firebase_core.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; import 'package:flutter_template/bloc/...
Dumindu Jayasekara's user avatar
0 votes
1 answer
78 views

I use go_router in combination with flutter navigation api. Here are my routes: home-route objects-route object-route From home I would call Navigator.push() to get to objects and the context.push() ...
DeKekem's user avatar
  • 1,835
0 votes
1 answer
30 views

In my main.dart I have defined my router: Widget build(BuildContext context) { final router = ref.read(routerProvider); Then return MaterialApp.router( routerConfig: router, In my ...
Sahil Singh's user avatar
1 vote
0 answers
32 views

I am working on a Flutter project where I am trying to implement authentication using Amazon Cognito. I am facing issues with the authentication flow, and the app is stuck in an endless waiting state ...
Haox's user avatar
  • 728
1 vote
1 answer
44 views

I need to implement 403 Forbidden page in web flutter application without redirecting to some /forbidden path but leaving on the page which is forbidden. It it possible?
BambinoUA's user avatar
  • 7,283
2 votes
0 answers
111 views

I'm using GoRouter in my Flutter application to handle routing. However, when I navigate to a specific todo item, the screen freezes, but the log messages print correctly, indicating that the route ...
TONI IVANOV's user avatar
1 vote
0 answers
127 views

I have a Flutter app for which I've setup Deep Linking using the GoRouter package, as explained here. Testings of the deep-linking in the terminal via: adb shell 'am start -a android.intent.action....
DevelJoe's user avatar
  • 1,552
0 votes
1 answer
113 views

Some applications might require circular (recursive) routing with the full stack state preservation, for instance a user might have posts, post details page might have a reference to the author, and ...
nyarian's user avatar
  • 4,415
0 votes
1 answer
129 views

i am using flutter as a web when publish as a release mode on iis server gives HTTP Error 404.0 - Not Found when reload with url,but ok with click on links. but localhost work fine, there no any ...
ARUN KUMAR's user avatar
1 vote
1 answer
106 views

In my project, I'm using GoRouter for navigation, Riverpod for state management and an AWS backend for users and data. I have a StreamProvider set up with DynamoDB data from a user like so: Stream<...
Jake Starkey's user avatar
0 votes
1 answer
92 views

I have a Flutter app where I use GoRouter for the routing part, FirebaseAuth for the authentication, Riverpod for the state management and Firebase Realtime for the database. When a user registers on ...
Mervin Hemaraju's user avatar
1 vote
0 answers
204 views

I have two pages in my Flutter app: Settings Page (which has a login button) Login Page (where the user enters credentials) Navigation Flow: On the Settings Page, clicking the login button opens a ...
zacko's user avatar
  • 417
1 vote
0 answers
36 views

I'm looking for a solution which contains exactly what you see described in this article, but with the additional feature of displaying a bottom navigation bar that is specific to the current app ...
DevelJoe's user avatar
  • 1,552
0 votes
0 answers
30 views

This is actually a short version of this question (at least these questions are related in meaning). Is the following routes structure valid? (hint: these are nested ‘routes’ sections) final _router = ...
rozerro's user avatar
  • 7,376
0 votes
0 answers
45 views

I want to convert the old solution based on Navigator api on go_router, but have problems with the following logic. old Navigator solution (it works): Widget buildListItem(BuildContext context, ...
rozerro's user avatar
  • 7,376
0 votes
1 answer
39 views

I need some of my app's pages to be notified when they are activated or deactivated as a result of change of the current Navigator. When both my target page (PageA) and the overlapping page (PageB) ...
Vyacheslav Orlovsky's user avatar
1 vote
1 answer
394 views

In my application, I will have a riverpod provider that is holding in its state the information about whether the user is logged in or not. Something like: @riverpod class Auth extends _$Auth { @...
Leonardo Mantovani's user avatar
-1 votes
2 answers
70 views

The backbutton interceptor is not working in the code. i also tried with PopScope, but not working yet. I don't want to exit the app ,just redirect to previous page. For this what I need? Like do I ...
Ikram Ico's user avatar
0 votes
1 answer
223 views

When i display a modal dialog in Flutter Web, i would like to make the back button close the current dialog instead of go back to the previous route. After some search, i found PopScope but i can't ...
mlapeyre's user avatar
  • 332
1 vote
1 answer
55 views

Let's say we have GoRouter configurations where first one contains the sub-route and second one no. GoRouter( routes: [ GoRoute( path: '/users', routes: [ GoRoute( ...
BambinoUA's user avatar
  • 7,283
0 votes
0 answers
116 views

I've been trying to implement navigation from login page to home page based on authentication status from firebase. Untill now Ive had this simply done with bloc listener (therefore I know the whole ...
Wiktoor's user avatar
  • 176
1 vote
0 answers
129 views

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", "...
Verilyzed's user avatar
0 votes
1 answer
248 views

I'm trying to catch a PopScope event. I've tried but without success. Here is my code. I'll simplify it a bit: GoRoute( path: '/group/:groupId', builder: (context, state) { final groupId = ...
Krakenudo's user avatar
  • 307
1 vote
0 answers
147 views

I am using flutters go_router package with the go_router_builder. I want to access the current context from the redirect, but the redirect only provides the app context. My app's structure looks like ...
anonymous-dev's user avatar

1
2 3 4 5
10