[go_router] Fixes an issue when popping pageless route would accident…#3613
[go_router] Fixes an issue when popping pageless route would accident…#3613auto-submit[bot] merged 2 commits intoflutter:mainfrom
Conversation
|
Like I said in the issue, the problem is when popping a Dialog with |
|
Is there a way to know from the last context if the current route was pushed using Navigator 1.0? |
|
Router API is meant to be backward compatible, the GoRouter is also built to support both Navigator API and router API. The pop is also responsible to handle android backbutton, and it is not possible to know whether the pop will be dismissing the a pageless route or page based route created by RouteMatchList. |
…ally complete imperative page.
flutter#3613) [go_router] Fixes an issue when popping pageless route would accident�

…ally complete imperative page.
fixes flutter/flutter#123369
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.