Mosses
 · [moe-zus]

How to get out of pub.dev package dependency issues?

Custom Code
Resolved

I'm building a custom widget based on one of the packages from pub.dev, but unfortunately running into circles with all dependency requirements. Here's one example. How do I get out of it? Is that even possible within the confines of FF? 😵‍💫

Error: Failed running flutter pub get...
Because google_maps_flutter_web >=0.5.9 depends on google_maps ^8.0.0 and custom_widget depends on google_maps 7.1.0, google_maps_flutter_web >=0.5.9 is forbidden.
So, because custom_widget depends on google_maps_flutter_web ^0.5.10, version solving failed.


You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on google_maps: flutter pub add google_maps:^8.0.0
What have you tried so far?

Scoured the web. Most answers are related to Flutter coding.

Did you check FlutterFlow's Documentation for this topic?
No
3
10 replies