请我在运行我的颤振模拟器时遇到问题

时间:2021-05-05 10:28:41

标签: flutter google-maps-flutter

C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:14:8: 错误:读取时出错'/ C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/stream_transform-2.0.0/lib/stream_transform.dart':系统找不到指定的路径。

import 'package:stream_transform/stream_transform.dart'; ^

/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:96:27:错误:方法'whereType ' 不是为类 'Stream' 定义的。

  • “Stream”来自“dart:async”。
  • 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。 尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。 返回 _events(mapId).whereType(); ^^^^^^^^^^ /C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:101:27: 错误:方法'whereType' is' t 为类 'Stream' 定义。
  • “Stream”来自“dart:async”。
  • 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。 尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。 返回 _events(mapId).whereType(); ^^^^^^^^^^ /C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/lib/src/method_channel/method_channel_google_maps_flutter.dart:106:27: 错误:方法'whereType' is' t 为类 'Stream' 定义。
  • “Stream”来自“dart:async”。
  • 'MapEvent' 来自 'package:google_maps_flutter_platform_interface/src/events/map_event.dart' ('/C:/Mobile/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_flutter_platform_interface-2.0.0/ lib/src/events/map_event.dart')。 尝试将名称更正为现有方法的名称,或定义名为“whereType”的方法。 返回 _events(mapId).whereType(); ^^^^^^^^^^

0 个答案:

没有答案