Skip to content

[pigeon] Pigeon not working with dart_style version above 3.0.1 #161583

@chihuy105

Description

@chihuy105

Steps to reproduce

  1. Add auto_route_generator 9.3.1
  2. Add pigeon 22.7.2
  3. Run pub get
  4. Run "flutter pub run build_runner build --delete-conflicting-outputs"

Expected results

The dart_style package in pigeon should be update to above 3.0.1
and pub build run normally

Actual results

Pub get run fail

Code sample

Code sample
  auto_route: 9.3.0
  pigeon: 22.7.2

Logs

Logs
Because pigeon 22.7.2 depends on dart_style ^2.3.4 and auto_route_generator 9.3.1 depends on dart_style ^3.0.1, pigeon 22.7.2 is incompatible with auto_route_generator 9.3.1.
So, because app depends on both auto_route_generator 9.3.1 and pigeon 22.7.2, version solving failed.

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.27.1, on macOS 14.6.1 23G93 darwin-arm64, locale en-VN)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0-rc4)
    ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[!] Android Studio (version unknown)
    ✗ Unable to determine Android Studio version.
[✓] Android Studio (version 2023.3)
[✓] Android Studio (version 2024.1)
[✓] Android Studio (version 2023.3)
[✓] Connected device (6 available)            
[✓] Network resources

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listp: pigeonrelated to pigeon messaging codegen toolpackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionteam-ecosystemOwned by Ecosystem teamtriaged-ecosystemTriaged by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions