Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error after updating flutter #62

Open
guns28 opened this issue Mar 27, 2024 · 2 comments · May be fixed by #64
Open

Error after updating flutter #62

guns28 opened this issue Mar 27, 2024 · 2 comments · May be fixed by #64

Comments

@guns28
Copy link

guns28 commented Mar 27, 2024

after updating i'm facing this issue here :

 Future<Marker> Function(Cluster<Place>) get _markerBuilder =>
      (cluster) async {}
  

ClusterManager _initClusterManager() {
    return ClusterManager<Place>(items, _updateMarkers,
        markerBuilder: _markerBuilder);
  }

The argument type 'Future Function(Cluster)' can't be assigned to the parameter type 'Future Function(dynamic)?

@Styort
Copy link

Styort commented Mar 28, 2024

I recently got the same error. Has anyone solved it?
Also build failed with error:
../../../../../../AppData/Local/Pub/Cache/hosted/pub.dev/google_maps_cluster_manager-3.1.0/lib/src/cluster_manager.dart:8:1: Error: 'Cluster' is imported from both 'package:google_maps_cluster_manager/src/cluster.dart' and 'package:google_maps_flutter_platform_interface/src/types/cluster.dart'.

@Styort
Copy link

Styort commented Mar 28, 2024

The reason and solution to the issue is described here

@vincendep vincendep linked a pull request Apr 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants