The purpose of the go_router for Flutter is to use declarative routes to reduce complexity, regardless of the platform you're targeting (mobile, web, desktop), handling deep linking from Android, iOS and the web while still allowing an easy-to-use developer experience.
The extra from GoRouterState is null when the Widget inspector is open with the toggle SELECT WIDGET MODE is enabled and the current page extract data from the GoRouterState (extra).
The extra from
GoRouterState
is null when the Widget inspector is open with the toggle SELECT WIDGET MODE is enabled and the current page extract data from theGoRouterState
(extra).Video:
https://user-images.githubusercontent.com/4898256/155167172-4e6924bd-f71b-49e6-be25-2884ce39e593.mov
Code to reproduce this issue: