Repository navigation
[go_router_builder] Add compatibility with analyzer 10.x #182064
Copy link
Copy link
Closed
flutter/packages
#11358Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
Description
Activity
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Feb 9, 2026 Thanks for the report. To better understand the scope and impact, could you please share:
- The full
pubspect.yaml(especially all dev_dependencies) - Output of
flutter doctor -v - The full output of
flutter pub get(including version solving error)
- The full
- addedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Feb 9, 2026 Of course (I created a separate clean project, with just the offending dependencies):
pubspec.yaml
name: reproduction description: "A new Flutter project." publish_to: 'none' version: 0.1.0 environment: sdk: ^3.10.8 dependencies: flutter: sdk: flutter go_router: ^17.1.0 dev_dependencies: go_router_builder: ^4.2.0 leancode_lint: ^20.0.0 flutter: uses-material-design: true
flutter doctor -v
[✓] Flutter (Channel stable, 3.38.9, on macOS 26.3 25D122 darwin-arm64, locale en-US) [210ms] • Flutter version 3.38.9 on channel stable at /Users/piotr/fvm/versions/3.38.9 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 67323de285 (12 days ago), 2026-01-28 13:43:12 -0800 • Engine revision 587c18f873 • Dart version 3.10.8 • DevTools version 2.51.1 • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging [✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0-rc1) [947ms] • Android SDK at /Users/piotr/Library/Android/sdk • Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A) • Platform android-36, build-tools 36.1.0-rc1 • ANDROID_HOME = /Users/piotr/Library/Android/sdk • Java binary at: /Users/piotr/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java This is the JDK bundled with the latest Android Studio installation on this machine. To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`. • Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 26.2) [743ms] • Xcode at /Applications/Xcode.app/Contents/Developer • Build 17C52 • CocoaPods version 1.16.2 [✓] Chrome - develop for the web [4ms] • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Connected device (3 available) [5.9s] • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 16 (API 36) (emulator) • macOS (desktop) • macos • darwin-arm64 • macOS 26.3 25D122 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 144.0.7559.133 [✓] Network resources [230ms] • All expected network resources are available. • No issues found!
flutter pub get
Resolving dependencies... Because leancode_lint >=20.0.0 depends on analyzer ^10.0.2 and go_router_builder >=4.1.3 depends on analyzer >=8.2.0 <10.0.0, leancode_lint >=20.0.0 is incompatible with go_router_builder >=4.1.3. So, because reproduction depends on both go_router_builder ^4.2.0 and leancode_lint ^20.0.0, version solving failed. You can try the following suggestion to make the pubspec resolve: * Consider downgrading your constraint on leancode_lint: flutter pub add dev:leancode_lint:^6.0.0 Failed to update packages.- removedwaiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
on Feb 9, 2026 @PiotrRogulski Thanks for the requested details.
- addedp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Feb 9, 2026 - addedtriaged-frameworkTriaged by Framework teamTriaged by Framework teamP2Important issues not at the top of the work listImportant issues not at the top of the work list
on Feb 17, 2026 felix-barz-brickmakers commented
on Mar 24, 2026 on Mar 24, 2026 · Hidden as off-topicshow commentMore actions- added a commit that references this issue
on Mar 28, 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.- locked as resolved and limited conversation to collaborators
on Apr 11, 2026 - added a commit that references this issue
on Jun 10, 2026
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: go_routerThe go_router packageThe go_router packagepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamOwned by Framework teamtriaged-frameworkTriaged by Framework teamTriaged by Framework team
go_router_builderisn't compatible with the latestanalyzerand packages using these versions: