【问题标题】:Flutter: cloud_firestore_web-3.1.1 Error: Method not found: 'FallThroughError'Flutter:cloud_firestore_web-3.1.1 错误:找不到方法:\'FallThroughError\'
【发布时间】:2022-12-21 05:25:32
【问题描述】:

在 Chrome(web) 中启动时,更新 flutter 和依赖项后开始出现此问题

sdk: '>=3.0.0-35.0.dev <4.0.0'

cupertino_icons: ^1.0.5
firebase_core: ^2.4.0
cloud_firestore:^4.2.0
firebase_auth:^4.2.1

在调试模式下在 Chrome 上启动 lib/main.dart ... 正在等待来自 Chrome 调试服务的连接... ../../../.pub-cache/hosted/pub.dev/cloud_firestore_web-3.1.1/lib/src/utils/web_utils.dart:71:13:错误:找不到方法:'FallThroughError'。 抛出 FallThroughError(); ^^^^^^^^^^^^^^^^

【问题讨论】:

    标签: flutter google-cloud-firestore flutter-web


    【解决方案1】:

    看起来这是一个已知问题: https://github.com/firebase/flutterfire/issues/10140

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多