Skip to content
Articles
Article

PopScope still fails on GoRouter root routes — a MethodChannel workaround

by Jehadur Rahman Emran dev.to

1 min read

Starting with GoRouter v13+, PopScope does not reliably handle the Android back button on root routes. That limitation is documented in flutter/flutter#140869, which is now closed. Cousin issues such as #153546 and #112765 are worth reading if you are still hitting edge cases. I published go_router_back_handler 1.0.2 on pub.dev under the jehadurre.me publisher to work around this. It intercepts t…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by