Description
flutter_map_marker_cluster currently depends on latlong2 ^0.9.0, which conflicts with latlong2 ^0.10.1. This makes it impossible to upgrade latlong2 in projects that also use this package.
Error
Because flutter_map_marker_cluster 8.2.2 depends on latlong2 ^0.9.1 and no versions of flutter_map_marker_cluster match >8.2.2 <9.0.0, flutter_map_marker_cluster ^8.2.2 requires latlong2 ^0.9.1.
So, because depends on both flutter_map_marker_cluster ^8.2.2 and latlong2 ^0.10.1,
version solving failed.
Steps to Reproduce
- Add
flutter_map_marker_cluster: ^8.2.2 to pubspec.yaml
- Add
latlong2: ^0.10.1 to pubspec.yaml
- Run
flutter pub get
Expected Behavior
Both packages should resolve without conflicts.
Requested Change
Please update the latlong2 dependency constraint in pubspec.yaml to support ^0.10.1:
# Current
latlong2: ^0.9.0
# Requested
latlong2: ^0.10.1
# or
latlong2: ">=0.9.0 <0.11.0"
Environment
- flutter_map_marker_cluster: 8.2.2
- latlong2: 0.10.x
- Flutter: Flutter 3.41.9 • channel stable
Description
flutter_map_marker_clustercurrently depends onlatlong2 ^0.9.0, which conflicts withlatlong2 ^0.10.1. This makes it impossible to upgradelatlong2in projects that also use this package.Error
Because flutter_map_marker_cluster 8.2.2 depends on latlong2 ^0.9.1 and no versions of flutter_map_marker_cluster match >8.2.2 <9.0.0, flutter_map_marker_cluster ^8.2.2 requires latlong2 ^0.9.1.
So, because depends on both flutter_map_marker_cluster ^8.2.2 and latlong2 ^0.10.1,
version solving failed.
Steps to Reproduce
flutter_map_marker_cluster: ^8.2.2topubspec.yamllatlong2: ^0.10.1topubspec.yamlflutter pub getExpected Behavior
Both packages should resolve without conflicts.
Requested Change
Please update the
latlong2dependency constraint inpubspec.yamlto support^0.10.1: