我正在尝试使用插件: https://github.com/flutter/plugins/tree/master/packages/google_maps_flutter
当我尝试运行提供的示例时: https://github.com/flutter/plugins/blob/master/packages/google_maps_flutter/example/lib/map_ui.dart
我得到了错误:
错误:参数类型'dart.core :: Set'不能为 分配给参数类型
在:
if (defaultTargetPlatform == TargetPlatform.android) {
return AndroidView(
viewType: 'plugins.flutter.io/google_maps',
onPlatformViewCreated: onPlatformViewCreated,
> `gestureRecognizers: widget.gestureRecognizers,`
creationParams: widget.options._toJson(),
creationParamsCodec: const StandardMessageCodec(),
);
有人可以帮助我吗? 谢谢。