You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[go_router_builder] Allow build 5.0.0 so apps can use build_runner 2.17.1 #194542
build_runner 2.17.1 requires build >=5.0.0 <5.1.0. build 5.0.0 is the retracted build 4.1.0 republished as a major version (dart-lang/build#5223). go_router_builder 4.5.0, and main at 4.5.1, constrain build: ">=3.0.0 <5.0.0", so an app that uses go_router_builder stays on build_runner 2.16.x.
Steps to reproduce
In an app with go_router_builder: ^4.5.0 in dev_dependencies, set build_runner: ^2.17.1.
Run flutter pub get.
Expected: resolves.
Actual: version solving fails, because go_router_builder requires build <5.0.0 and build_runner 2.17.1 requires build >=5.0.0.
What we checked
With dependency_overrides: build: ^5.0.0 and build_runner 2.17.1, dart run build_runner build generates our typed routes (StatefulShellRoute with nested GoRouteData) and flutter analyze reports no issues. This was on Flutter 3.47.6 and Dart 3.13.5.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
suryaKommana2662 commentedon Oct 16, 2026
@nikolaspateras Thanks for the proposal. routing to the
team-ecosystemfor further investigation[go_router_builder] Allow `build` 5 (flutter#13455)
github-actions commentedon Nov 13, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.