I would like to ask you about PopScope and go_router. I’m affraid it should have any issue
I’m trying to catch a PopScope event. I’ve tried but without success. Here is my code. I’ll simplify it a bit:
refresh scaffold screen on browser back button for web app with GoRouter?
I recently added web as a platform on my mobile flutter app. Updated all my navigation code to use GoRouter package.
We cannot use await
on context.go
and I don’t want to use context.push
as the url is not deep linkable.
When I press back button on browser or use context.pop
, I want my previous screen to reload fresh just like any webpage would load. but I am not able to figure this out.
Please advice. Thanks in advance.
P.S I am not using any state management package rn. Do I have to implement a package like Riverpod to achieve this?
How to preserve state in go_router, how to use keys properly and how to achieve a popuntil in the correct way?
I have this page structure (or i want to have this structure):
PopScope doesn’t work with builder inside MaterialApp
I’m trying to wrap PopScope over child but it can still pop. I used it with go router.
Go_router child routes with parameters
I try to use go_router package
and this is my reouter confiegration
Flutter How to combine FlowBuilder with GoRouter
I am trying to get authenticated routing working. My plan was to seperate the authenticated routing logic into FlowBuilder, since this seems more convenient with top level authentication states.
GoRouter – share custom model between screens with context.go
I have a flutter app for mobile which I am porting to web. So I am using Go Router package
and moving from Navigator.of to context.go
. Following is a code sample from my app. How can I send all this data with context.go.
GoRouter – correct way to pass Model objects between GoRroute sub routes
I have an existing flutter app for mobile and which I am configuring for web. So I want to implement GoRouter package for Routing.
As a example my Registration flow is divided into 3 screens. How can I share my registration model between the screens.
What is difference between Auto Router and Go Router in Flutter?
Both are used as declarative way for navigation, but depending on use-case when should we use auto-route and go route?
Go router package nested page navigation problem in my Flutter application
I want to include the go router package in my flutter project, but I’m having trouble because I’m very new to this subject. The problem I’m having is that I created nested pages and when you give this kind of sub-page, a back button is automatically created in the appbar. When I click on this back button, it prints the same page again, while I expect it to return to the previous page.
below I share my code with you