How to work with NavigationBar in go_router? | Flutter

I am currently struggling refactoring my routing code with <a href="https://pub.dev/packages/go_router" rel="noreferrer">go_router</a>. I already got some simpl...

Set default transition for go_router in Flutter

as <a href="https://gorouter.dev/transitions" rel="nofollow noreferrer">the docs from go_router</a> describe, it is easy to set <code>pageBuilder</code>-Transitions fo...

Flutter go_router, how to get the whole current stack of pages?

Meaning if I go from a job screen to a client screen (the client the job was for), to another job screen (another job done for the client) etc, how can I display job &...

How to use Flutter Firebase dynamic links with go_router

I had <code>firebase</code> <code>dynamic links</code> integrated and working fine in my app and later i changed to use <code>go_router</code> and now i don't know wha...

Can not navigate with Go Router when implement Navigation Widget in navigatorBuilder function

<h2>Description</h2> I am trying to Navigate between screens with a Navigation Menu using <a href="https://gorouter.dev/" rel="nofollow noreferrer">go_router plugin</a...

how can I route using GoRouter in Flutter without context?

<strong>The problem I want to solve:</strong> My app which uses GoRouter needs to be able to route to a named route from within main(). Since most routing is of the fo...

How to define a GoRouter that depends on a Provider?

I'm integrating GoRouter in my Flutter app where I'm already using Riverpod. I have an <code>isAuthorizedProvider</code> defined as follows: <pre><code>final isAut...

Flutter - go_router - Shared scaffolding in child nested navigation

I'm trying to set up a structure like this on go_router. <a href="https://i.stack.imgur.com/yMKlu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur...

Cannot set URL strategy more than once. error using go_router with Flutter Web

I am using go_router flutter package for Flutter Web. I am getting this error while reloading the website. The back button is working great but the reload causes this....

How to pop context with FLUTTER go_router?

How do I go back to the previous screen with flutter's go_router? How to pop context? Currently I am simply adding a new screen to the stack whether I want to g...

(EXCEPTION CAUGHT BY GOROUTER) Failed assertion: line 299 pos 13: !redirects.contains(redir): redirect loop detected:

I am trying to use GoRoute, Stream, and Bloc. So, I am implementing Auth Process. So, if the user is not log-in they can't access any page. And, `Stream allows to cons...

Flutter: how to listen to GoRouters route / location changes in a Riverpod provider?

I am developing a Flutter application with go_router and riverpod for navigation and state management respectively. The app has a widget which displays a live camera f...

How to get previous location of route using Go Router?

What im trying to do is for example if router came from login to verification screen do something but when prev location from sign up and not login dont do something.<...

How to apply transition animation to the .go function using the go_router package

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...

How to close dialog widget opened with `showDialog` on web browser back button pressed?

I use <code>go_router</code> for my web application. I use <code>go_router</code> for page navigation (e.g /page1, /page2 etc). Navigation is executed via <code>contex...