Reputation: 443
Here I trying to add dependency
geoflutterfire: ^3.0.3
After adding this line in pubspec.yml
I presses pub get to get all package which I listed in it.
But I got an error something about flutter_lint
version
Running "flutter pub get" in example...
Because example depends on geoflutterfire ^3.0.3 which depends on flutter_lints ^1.0.0, flutter_lints ^1.0.0 is required.
So, because example depends on flutter_lints ^2.0.0, version solving failed.
pub get failed (1; So, because example depends on flutter_lints ^2.0.0, version solving failed.)
Upvotes: 1
Views: 536
Reputation: 1
Downgrading version of geoflutterfire: ^3.0.3 to geoflutterfire: ^3.0.2 will cause multiple errors if you are using firebase_core and cloud_firestore. What worked for me was that I used geoflutterfire2. It has pub point 140/140 and hopefully will work for you as well
Upvotes: 0
Reputation: 98
I also faced the same problem and solved it by downgrading this version of geoflutterfire: ^3.0.3 to geoflutterfire: ^3.0.2. I hope it works for you too.
Upvotes: 1