flutter pub get
Resolving dependencies... (1.1s)
Note: intl is pinned to version 0.18.1 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because dart_jts 0.2.3+2 depends on intl >=0.16.1 <=0.18.0 and no versions of dart_jts match >0.2.3+2 <0.3.0, dart_jts ^0.2.3+2 requires intl >=0.16.1 <=0.18.0.
0.18.1 is greater than whats in dart_jts pubspec
then
flutter pub get
Resolving dependencies... (1.1s)
Note: collection is pinned to version 1.17.2 by flutter_localizations from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_localizations from sdk depends on collection 1.17.2 and dart_jts 0.2.3+2 depends on collection >=1.14.13 <=1.17.1, flutter_localizations from sdk is incompatible with
dart_jts 0.2.3+2.
And because no versions of dart_jts match >0.2.3+2 <0.3.0, flutter_localizations from sdk is incompatible with dart_jts ^0.2.3+2.
again with collection
i suggest you remove the upper version constraint in pubspec.yaml
first issue is with intl:
flutter pub get Resolving dependencies... (1.1s) Note: intl is pinned to version 0.18.1 by flutter_localizations from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details. Because dart_jts 0.2.3+2 depends on intl >=0.16.1 <=0.18.0 and no versions of dart_jts match >0.2.3+2 <0.3.0, dart_jts ^0.2.3+2 requires intl >=0.16.1 <=0.18.0.
0.18.1 is greater than whats in dart_jts pubspec
then
flutter pub get Resolving dependencies... (1.1s) Note: collection is pinned to version 1.17.2 by flutter_localizations from the flutter SDK. See https://dart.dev/go/sdk-version-pinning for details.
Because every version of flutter_localizations from sdk depends on collection 1.17.2 and dart_jts 0.2.3+2 depends on collection >=1.14.13 <=1.17.1, flutter_localizations from sdk is incompatible with
dart_jts 0.2.3+2. And because no versions of dart_jts match >0.2.3+2 <0.3.0, flutter_localizations from sdk is incompatible with dart_jts ^0.2.3+2.
again with collection
i suggest you remove the upper version constraint in pubspec.yaml
dependencies: intl: '>=0.16.1' collection: '>=1.14.13'