Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dart_mappable_builder incompatible with SDK 3.5.0 #249

Open
lhengl opened this issue Dec 16, 2024 · 0 comments
Open

dart_mappable_builder incompatible with SDK 3.5.0 #249

lhengl opened this issue Dec 16, 2024 · 0 comments

Comments

@lhengl
Copy link

lhengl commented Dec 16, 2024

Upgrading the environment to the latest Flutter/SDK version causes the build_runner to produce the following warning:

Analyzer language version: 3.4.0
SDK language version: 3.5.0

Please update to the latest analyzer version (7.0.0) by running
flutter packages upgrade.

If you are not getting the latest version by running the above command, you
can try adding a constraint like the following to your pubspec to start
diagnosing why you can't get the latest version:

dev_dependencies:
analyzer: ^7.0.0

Upgrading the analyzer to ^7.0.0 will cause the following error:

Because dart_mappable_builder 4.3.0 depends on analyzer >=5.11.0 <7.0.0 and no versions of dart_mappable_builder match >4.3.0 <5.0.0, dart_mappable_builder ^4.3.0 requires analyzer >=5.11.0 <7.0.0.

Perhaps the build_mappable_builder pubspec should be changed to:

analyzer: '>=5.11.0 <8.0.0'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant