[go_router] Android Back Two Twice Remind

This issue has been created since 2022-11-24.

[go_router] Hi Guys, us app have the requirement:
When the current router is root, if the user click the android back button, will need show the toast : "please back again to exist the app". Previous we can use the WillPopScope to control, may i know how to implement this on Go Router?

exaby73 wrote this answer on 2022-11-24

Hi @AceChen1
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-12-10
Star Count 147243
Watcher Count 3561
Fork Count 23950
Issue Count 11325

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
master版本的副本设置相关问题(2022-07-12-master) 2 2022-07-12 2022-10-15
Working with Prisma Studio 3 2022-07-08 2022-10-15
Add features to avoid accidentally editing text you can't see with an off-screen cursor 9 2021-05-29 2022-11-20
Set how many files is wanted to download. 1 2022-07-18 2022-10-04
Filtering by Date or Quantity 0 2022-07-19 2022-10-04
v2.0.0 Unable to connect due to network issues :timed out 1 2022-07-20 2022-09-27
Provide stage to before_every_request hook 2 2021-09-29 2022-10-08
ModuleNotFoundError: No module named 'sailfish' 2 2022-06-06 2022-12-02
Psi indicates outcoming OMEMO-encrypted messages as unencrypted 19 2021-02-28 2022-11-15
Better edge styling configurability 0 2014-07-21 2022-11-12
A possible bug with the order in solution_assignments? 3 2022-03-30 2022-11-13
`serve!` is not "finished" when returning 4 2022-12-04 2022-12-07
Error when generating DV components 0 2022-06-11 2022-11-21
bulk create removes empty field bindings 3 2022-07-21 2022-11-23
Include 'nsupdate' to facilitate dns challenges for Let's Encrypt certificates? 4 2021-07-12 2022-12-02
build failure on GHC 9.4 due to removed instance MonadFail (ST s) 1 2022-07-21 2022-09-06
Activate SONAR 1 2021-10-29 2021-12-24
Upgrade to java 11 0 2021-10-30 2022-01-22
怎么样去除编辑器默认的[TOC]代码 1 2021-06-04 2022-01-06
[A11Y] Seven/Basis: secondary submit button text does not have enough contrast 5 2022-01-01 2022-11-13
Installing globally as a system-level package 10 2021-08-16 2022-11-14
🔥 environment/2way-ssl 2 2021-11-06 2022-10-17
WebUI packages disappeared after restarting the server 5 2021-09-27 2022-11-02
[cassandra] Integrate a solution for cluster repair 17 2019-01-21 2022-11-30
US-NW-PGE production parser down 1 2021-11-13 2022-11-24
Warn about blocking drop index stmts 0 2021-04-15 2022-11-09
Pre/Post Scripts are executed in workspace recursive scripts 1 2021-10-20 2022-11-28
Cannot save a picture with ALT+RightClick >> CopyImage or SaveImage 3 2020-05-26 2022-12-01
stable: new release on 2021-04-26 (33.20210412.3.0) 6 2021-04-14 2022-12-04
chess|move|h6h1|21697 1 2022-04-23 2022-10-15
[Ren'Py 8 01-05 nightly] Update/Requests do not work. 6 2022-01-06 2022-10-25
I keep getting the error - pytrends.exceptions.ResponseError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs. 1 2021-11-10 2022-11-30
Strange issue with 2.2.2 version and .zip files 6 2020-12-17 2022-09-27
Scrolling right in the editor causes a wide line of text to step on the row numbers 0 2022-10-28 2022-12-01
[Bug]: Prefix not working for TableToolbarContent 0 2022-05-30 2022-12-05
Add missing unit tests for the `Random Module` hooks 0 2022-11-28 2022-11-30
picking the wrong beta suffix number 0 2021-10-31 2022-11-15
Feature: (custom content) `SMART_ACTION` types for sending worldstates to the client 2 2021-09-12 2022-11-18
Docker Swarm Deployment Permision Denied Error 2 2021-07-11 2022-11-06
[Improve][TubeMQ] Fix param in the client module and the main class of tubeManager pom is error 0 2022-02-19 2022-11-06
貌似找不到Slider滑块组件 1 2020-01-06 2022-01-22
Nx is trimming options put in console with prefix `no` and setting value to `false` 1 2021-10-13 2022-10-13
[Webview] NotSerializableException: com.google.accompanist.web.WebViewState 1 2022-05-06 2022-11-03
Always on top border trailing(lagging) behind window 1 2022-07-07 2022-10-02
In app account deletion 0 2021-07-11 2022-12-06
WorkflowsCreateExecutionOperator execution argument only receive bytes 1 2022-10-20 2022-10-18
Status of testing of Apache Airflow 2.4.2rc1 6 2022-10-20 2022-10-18
Bump alpine from 3.12.0 to 3.13.2 1 2021-02-18 2022-07-26
Running timeout! 0 2021-01-11 2022-01-13
What will happen if the loader thread terminates due to an error? 1 2022-05-28 2022-12-02