[英]Flutter: cloud_firestore_web-3.1.1 Error: Method not found: 'FallThroughError'
This problem started to occur after updating flutter, and dependencies, when launching in Chorme(web)在 Chorme(web) 中启动时更新 flutter 和依赖项后开始出现此问题
sdk: '>=3.0.0-35.0.dev <4.0.0' sdk: '>=3.0.0-35.0.dev <4.0.0'
cupertino_icons: ^1.0.5 cupertino_icons: ^1.0.5
firebase_core: ^2.4.0 firebase_core: ^2.4.0
cloud_firestore: ^4.2.0 cloud_firestore:^4.2.0
firebase_auth: ^4.2.1 firebase_auth:^4.2.1
Launching lib/main.dart on Chrome in debug mode... Waiting for connection from debug service on Chrome... ../../../.pub-cache/hosted/pub.dev/cloud_firestore_web-3.1.1/lib/src/utils/web_utils.dart:71:13: Error: Method not found: 'FallThroughError'.以调试模式在 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'。 throw FallThroughError();抛出 FallThroughError(); ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
It looks like this is a known issue: https://github.com/firebase/flutterfire/issues/10140看起来这是一个已知问题: https ://github.com/firebase/flutterfire/issues/10140
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.