Hi !
In my project I'm using google_maps_flutter thats provide a method GoogleMapController.getZoomLevel() and so.
If I declare both in pubspec.yaml:
dependencies:flutter:sdk: fluttergoogle_maps_flutter_heatmap: ^0.1.1+2google_maps_flutter: ^2.0.6
I got the follow error to compile:
error: constructor GoogleMapsPlugin in class GoogleMapsPlugin cannot be applied to given types;flutterEngine.getPlugins().add(new io.flutter.plugins.googlemaps.GoogleMapsPlugin());
required: Registrarfound: no argumentsreason: actual and formal argument lists differ in length1 error
If I use only google_maps_flutter_heatmap it doesnt provide me the function getZoomLevel().
Do you have any tip how to use both in my project or is there a way to update google_maps_flutter_heatmap with new googlemaps functions ?
Thanks
Hi ! In my project I'm using google_maps_flutter thats provide a method GoogleMapController.getZoomLevel() and so. If I declare both in pubspec.yaml:
dependencies:
flutter:
sdk: flutter
google_maps_flutter_heatmap: ^0.1.1+2
google_maps_flutter: ^2.0.6
I got the follow error to compile:
error: constructor GoogleMapsPlugin in class GoogleMapsPlugin cannot be applied to given types;
flutterEngine.getPlugins().add(new io.flutter.plugins.googlemaps.GoogleMapsPlugin());
required: Registrar
found: no arguments
reason: actual and formal argument lists differ in length
1 error
If I use only google_maps_flutter_heatmap it doesnt provide me the function getZoomLevel().
Do you have any tip how to use both in my project or is there a way to update google_maps_flutter_heatmap with new googlemaps functions ? Thanks