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

Use MarkerBuilder function signature to avoid collisions on functions defs #1

Open
wants to merge 1 commit into
base: fix/cluster
Choose a base branch
from

Conversation

edlman
Copy link

@edlman edlman commented Apr 3, 2024

I have encountered function defs collisions when used with Flutter 3.13. _basicMarkerBuilder didn't conform the same signature as markerBuilder passed to ClusterManager constructor and thus making markerBuilder signature to be Future<Marker> Function(**dynamic**) instead of Future<Marker> Function(**Cluster<T> cluster**) which made impossible to pass own marker builder conforming the corrent signature.
I found that you already made some changes in your fork of the original code, that's why I created this fix against your code. If you merge it, put it to your pull request to the origin.

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 this pull request may close these issues.

1 participant