google_maps_cluster_manager icon indicating copy to clipboard operation
google_maps_cluster_manager copied to clipboard

[BUG FIX] : update google_maps_flutter_platform_interface version and fix example…

Open JenishMS opened this issue 1 year ago • 3 comments

… project bugs

JenishMS avatar Oct 20 '24 06:10 JenishMS

Hi @JenishMS , recently I wanted to use this package "google_maps_cluster_manager" , but I was getting an import error: ../../../../.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'. import 'package:google_maps_flutter_platform_interface/google_maps_flutter_platform_interface.dart';

My question is: Instead of giving an example code as in this PR, why are we not renaming "Cluster" to some other name in "google_maps_cluster_manager" ?

saket2507 avatar Oct 25 '24 05:10 saket2507

@saket2507 Yes, we can. I initially thought the existing one might need some changes, but if you're okay with it, I can make those changes as well.

JenishMS avatar Oct 25 '24 05:10 JenishMS

Would be great....but I think I found something else. This fix worked in my emulator: https://github.com/MacDeveloper1/google_maps_cluster_manager/pull/1

saket2507 avatar Oct 25 '24 05:10 saket2507