Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
256 views

Generic Description I am developing an app in Flutter using go_router package. The auth logic is as follows: the user is allowed to use the app without logging in to access some features, the user ...
Sandeep Singh's user avatar
0 votes
1 answer
50 views

import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; class BottomNavBar extends StatelessWidget { const BottomNavBar({super.key}); @override Widget build(...
Levi Akerman's user avatar
0 votes
1 answer
698 views

I am using the go_router package to implement routing between screens. first I navigate from the A screen to the B screen using GoRouter, then when I try to navigate from B to A with the device's back ...
KalpeshChavda's user avatar
1 vote
0 answers
134 views

I'm working on an application that uses GoRouter for navigation and Riverpod for state management. My code works fine, but I'm having an issue trying to update the index of the navbar when the user ...
Alex03's user avatar
  • 11
0 votes
3 answers
653 views

I am stuck in navigation. I want to pass the function/Method as argument. I tried to find the solution but I did not get anything. I used go_router package for navigation. I want to pass a function ...
Mohammad Hanif Shaikh's user avatar
1 vote
0 answers
177 views

How to use Hero between pages from different StatefulShellBranch within a StatefulShellRoute.indexedStack? I'm using go_router. How to use Hero between pages from different StatefulShellBranch within ...
Nathanael Ferreira's user avatar
1 vote
0 answers
107 views

I'm attempting to utilize the forgot property in backButtonDispatcher to disable the back button navigation on the web once the screen is popped. However, I have been unable to find a solution to ...
krishnaji's user avatar
  • 1,993
0 votes
0 answers
78 views

I'm currently working with the GoRouter package in Flutter for navigation in my app. I need to implement dynamic redirection logic based on certain conditions, but I'm unsure how to achieve this ...
ololo's user avatar
  • 2,190
3 votes
0 answers
334 views

I'm facing an issue with Go Router in Flutter where the current page gets reloaded when pushing to a new page. Specifically, when I'm on the "/home" page (which is a part of a shell route) ...
haidang1505's user avatar
0 votes
1 answer
163 views

I have a search results page (ListView) where the user can navigate to a detailed page through context.pushNamed(...) (from go_router). class ResultsPage: Column of: + Search Bar + Filter ...
user2232305's user avatar
1 vote
1 answer
928 views

I'm encountering an issue with accessing queryParams in my Flutter app while using the GoRouter package for routing. It seems that a recent update has caused a change in how queryParams can be ...
ololo's user avatar
  • 2,190
1 vote
1 answer
3k views

I'm using go_router and trying to handle auth using redirects, so if a user isn't logged in they go to the inviteCode screen. This all works well. My flow is: invite screen -> home -> profile ...
Andrew's user avatar
  • 8,200
0 votes
1 answer
398 views

I have a Flutter app that uses the go_router package for navigation. The app was working fine with version 7.1.1 of go_router, but when I updated to the latest version (13.2.1), I started getting ...
YUSOF's user avatar
  • 262
2 votes
0 answers
166 views

I am trying to override a riverpod provider for a specifig GoRouter route. This is my current setup and I am still getting UnimplementedError in the AssessPage The provider I want to override @...
Christian's user avatar
  • 1,088
3 votes
1 answer
436 views

I'm using bloc and go_router On this example, the theme settings page handles when the user changes the theme, adding the ToggleTheme event to the ThemeBloc, but when it changes, the entire app ...
jfco_fer's user avatar
1 vote
1 answer
2k views

I saw in the old documentation that using the "extra" parameter to pass data to another page was not working with deep-linking. I cannot see that in the current documentation (look at the &...
Cyrille Dakhlia's user avatar
5 votes
2 answers
3k views

I'm experiencing an issue with deep linking in a Flutter app, particularly when using GoRouter (version 13.2.1) for navigation. My web app is built with Next.js, hosted on Vercel, and uses a custom ...
kforjan's user avatar
  • 1,554
4 votes
2 answers
4k views

I am trying to add an action extension to my Flutter app. I intend to use action to send an image to my app. Go Router was used for routing in my app, so I have to use Go Router for deep links. Due to ...
bahadir arslan's user avatar
0 votes
0 answers
88 views

The issue is I do not have the value yet when the app gets killed. Imagine such a scenario: User is on route A. User navigates to route B (route stack is now [A, B]) User moves the app into the ...
davdog00's user avatar
  • 213
0 votes
1 answer
93 views

Steps to reproduce Clone this application from github (dculussoftwares/vilvam.v2) and run it on android emulator. Go to first search icon and try to hit the text editor on emulator. Then this will ...
Natheeshkumar Rangasamy's user avatar
0 votes
1 answer
348 views

I want to implement the following navigation: GoRouter ├─ StatefulShellRoute-1(root of the app) │ ├─ GoRoute(/tab-1) │ ├─ GoRoute(/tab-2) │ ├─ GoRoute(/tab-3) │ ├─ GoRoute(/tab-4) │ ├─ GoRoute(/...
alexb's user avatar
  • 1
3 votes
2 answers
2k views

I've been having a maddening issue with Flutter and GoRouter for a while now, When I press the phone's back button it either minimizes the app or closes it instead of popping to the previous page. It ...
REMASTERED1's user avatar
0 votes
1 answer
448 views

I am making a screen where there is a Tabbar for two different screen. Lets say BarA and BarB. Now, in the BarA Tab, There is a Details page, where I want to push, do some stuff and back to BarA tab....
xahid_rocks's user avatar
0 votes
0 answers
27 views

I have sequence of routing like A->B->C->D, now i am in my fourth router, its a kind of success page after an api call, now when I tap on done button on route D it should bring user back to ...
Anbarasu Chinna's user avatar
0 votes
0 answers
61 views

I'm using go_router, if it helps! I wanted to try go_router parameter in material.router constructor but I don't know how to do it. Also I don't want to use onPopScope for each single of pages. If ...
Behzad Ayubifar's user avatar
1 vote
1 answer
152 views

I am using Flutter GoRouter to navigate from the Homespace with path / to a search page with path /search. I transition to the search page via context.go('/search'). From the search page when I swipe ...
user2232305's user avatar
2 votes
0 answers
104 views

I have an MaterialApp.router which is wrapped inside BlocBuilder, something like below. BlocBuilder<MyCubit, MyState>( builder: (context, state) { debugPrint('Material app rebuilds :)'); ...
Satyajyoti Biswas's user avatar
0 votes
1 answer
1k views

I am having an issue with go_router and can't seem to figure it out. I have used go_router successfully on previous Flutter mobile apps, but on my latest app, I am getting a weird issue in the ...
ramluro's user avatar
  • 93
-1 votes
1 answer
158 views

I'd like to refetch the data when navigating back from Details screen -> List screen ReorderableListView( ... children: _localExercises.map((exerciseInTraining) { return _Exercise( ...
Belz123PL's user avatar
1 vote
4 answers
899 views

I have a page in Flutter which has 3 different elements header, sidebar and main_content. Sidebar contains some text buttons login, customer, manager etc. When someone clicks on the button on the ...
Krishna Karki's user avatar
3 votes
2 answers
304 views

I want to read the GoRouter outside of main() and outside of any widget. GoRouter provider is defined as follows: final goRouterProvider = Provider<GoRouter>( (ref) { return GoRouter(...); ...
bqubique's user avatar
  • 1,652
0 votes
2 answers
659 views

I have a repository object which I want to use for two blocs (list view bloc and edit dialog bloc). I.e. class Repo { addEntity(); getEntity(); fetchEntities(); ... } class ListViewBloc ... { ...
BambinoUA's user avatar
  • 7,283
1 vote
1 answer
374 views

Problem Description: I'm building a Flutter application where I have a bottom navigation bar with several tabs. In one of these tabs, I'm using context.push('/createPost') to navigate to a new page ...
Lyne-'s user avatar
  • 21
1 vote
0 answers
650 views

I am making a complete Flutter clone of Instagram and trying to implement the navigation exactly like in Instagram. For this task I chose GoRouter and are facing some challenging moments, making some ...
Emil Zulufov's user avatar
3 votes
2 answers
3k views

I am developing a Mobile App where the App starts from a SplashScreen and Navigates go HomeScreen which is implemented under StatefulShellRoute.indexedStack that contains BottomNavigationBar and each ...
Mehedi Hasan's user avatar
0 votes
1 answer
367 views

My app_router.dart looks like this GoRoute( path: '/', name: AppRoute.todoList.name, redirect: (context, state) async { var initialRoute = await getInitialRoute(); ...
steve's user avatar
  • 957
1 vote
0 answers
92 views

sorry for asking but goRouter is not working on my project for deeplinking I have set all My android manifest: <meta-data android:name="flutter_deeplinking_enable" android:value="...
Angel Anton's user avatar
6 votes
1 answer
2k views

I have implemented bottom bar navigation in my flutter app using go_router and its routes are made as StatefulShellRoute.indexedStack. The current code looks somewhat like this final _rootNavigatorKey ...
dizziness's user avatar
1 vote
0 answers
457 views

I am trying to add network connectivity validation to flutter application , I am using go_router for routing and navigation . I want to push user to other page if he is not connected to internet. I ...
Tanmay Patil's user avatar
0 votes
1 answer
1k views

I need help with using either Go Router or Auto Route for deep nested navigation. I can navigate just fine to say the child route of the tab bar but if I want to go to the edit profile route it will ...
Rlee128's user avatar
  • 115
1 vote
4 answers
1k views

How to cancel routing? If user is not premium user, Try to not allow to move to target routing. For example, like below. redirect: (BuildContext context, GoRouterState state) { if (AuthState.of(...
This is the R's user avatar
1 vote
0 answers
795 views

Been trying out the go_router StatefulShellRoute.indexedStack() together with FirebaseAuth custom claims. Essentially, I want to customize the StatefulShellBranch depending on their custom claim as is ...
enchance's user avatar
  • 30.7k
1 vote
1 answer
3k views

I just started using go_router package. I am coming from Navigator 1 where you could easily call Navigator.push to get a new screen on the stack. This makes development faster since all I have to do ...
Moses's user avatar
  • 81
4 votes
2 answers
1k views

I use go_router's StatefulShellRoute.indexedStack to implement a design with bottomNavBar. How can I reset the current branch to its original state AND go to another branch at the same time? Tab A is ...
duffy's user avatar
  • 736
4 votes
2 answers
3k views

The error is within the go_router package and is related to an assertion failure in the parser.dart file. The specific assertion that failed is at line 63, position 12, and it checks whether ...
Ashen madalagama's user avatar
0 votes
1 answer
687 views

There a App Landing screen which contains the two buttons SignIn and Signup. If I click on SignIn and there is another button take customer to Signup. AppLanding Screen > Signin Screen > SignUp ...
Gaurav Khatri's user avatar
0 votes
2 answers
549 views

I'm having an issue with moving from the splash screen to the next screen in my application. When the app first starts, I want to display a splash screen, and after that I try to use pushReplacement ...
Babay's user avatar
  • 5
1 vote
1 answer
3k views

I'm running into an issue using GoRouter where I'm trying to navigate the bottom navbar tabs programmatically if coming from a page that is outside the stateful shell route. For example if you observe ...
Jack Maring's user avatar
1 vote
1 answer
362 views

In my Flutter app for Android, at opening, I want to force the user to log-in. I use the GoRouter redirect parameter: final router = GoRouter( routes: [ GoRoute( path: '/', ...
Daniele Dodi's user avatar
0 votes
1 answer
212 views

ISSUE/BUG : My flutter app is throwing setState() or markNeedsBuild() called during build error only when I open the profile Page as a deep link ( I am using go_router: ^13.0.1 ) .

 NOTE : If I ...
Ramith K S's user avatar

1 2 3
4
5
10