lpongetti / flutter_map_marker_cluster

Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster
BSD 3-Clause "New" or "Revised" License
243 stars 215 forks source link

Latest latlong2 version doesn't support. Not able to apply the plugin #171

Closed george-brandidea closed 11 months ago

george-brandidea commented 1 year ago

I got the below error when I tried to add the latest dependency.

flutter pub add flutter_map_marker_cluster
The current Dart SDK version is 3.0.2.

Because flutter_map_marker_cluster <0.4.0-nullsafety.0 doesn't support null safety and flutter_map_marker_cluster ^0.4.0-nullsafety.0 depends on latlong2 ^0.8.0, flutter_map_marker_cluster <0.5.0 requires latlong2 ^0.8.0.
And because flutter_map_marker_cluster >=0.5.0 depends on latlong2 ^0.8.1, every version of flutter_map_marker_cluster requires latlong2 ^0.8.0.
So, because app_flutter depends on both latlong2 ^0.9.0 and flutter_map_marker_cluster any, version solving failed.

The lower bound of "sdk: '>=2.1.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
For details, see https://dart.dev/null-safety
exit code 65
Mmisiek commented 1 year ago

Same here, it is easy fix, can you do it ?

andreystavitsky commented 1 year ago

@Mmisiek @george-brandidea please try my pull request

tmatrai commented 1 year ago

Same here

parker-sherrill commented 1 year ago

Yeah also still waiting on upgrading all the new map plugins due to this, should be relatively easy, I will try your pull request @andreystavitsky

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 11 months ago

This issue was closed because it has been stalled for 5 days with no activity.