Flutter: Want to disable automatic routing of go_router in app
Summary The developer attempted to disable the default routing behavior in go_router by returning null in the redirect callback. While this stops navigation, it breaks the router’s internal state, likely causing the errorBuilder to trigger because the router cannot resolve a valid destination for the initial location. The correct approach to “disable” automatic routing isn’t … Read more