![](/img/trans.png)
[英]Error: Method not found: 'FallThroughError'. throw FallThroughError();
[英]Flutter: cloud_firestore_web-3.1.1 Error: Method not found: 'FallThroughError'
在 Chorme(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(); ^^^^^^^^^^^^^^^^
看起來這是一個已知問題: https ://github.com/firebase/flutterfire/issues/10140
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.