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

package not compatible with http 1.1.0 #230

Open
Eslam0mansour opened this issue Apr 3, 2024 · 1 comment
Open

package not compatible with http 1.1.0 #230

Eslam0mansour opened this issue Apr 3, 2024 · 1 comment

Comments

@Eslam0mansour
Copy link

package not compatible with http 1.1.0

@prateek-aib
Copy link

Got this while trying to add the package

prata@prateek rapsap-flutter % flutter pub add flutter_google_places
The current Dart SDK version is 3.3.4.

Because google_fonts >=4.0.5 depends on http ^1.0.0 and flutter_google_places >=0.3.0 depends on http ^0.13.1, google_fonts >=4.0.5 is incompatible with flutter_google_places >=0.3.0.
And because flutter_google_places <0.3.0 doesn't support null safety, google_fonts >=4.0.5 is incompatible with flutter_google_places.
So, because rapsap depends on both google_fonts ^6.2.1 and flutter_google_places any, version solving failed.

The lower bound of "sdk: '>=2.0.0-dev <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety

If http 1.1.0 doesn't work, bumping to 1.0.0 will still be helpful.

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

2 participants