fluttercommunity/flutter_google_places

package not compatible with http 1.1.0

Eslam0mansour opened this issue · 2 comments

package not compatible with http 1.1.0

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.