dart.dev
上的"启用空安全"并且迁移了整个Flutter应用程序到空安全。现在,我正在尝试使用flutter run
运行它。但是,由于以下错误,它无法启动:Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:cloud_firestore_web
- package:firebase_core_web
- package:shared_preferences
- package:url_launcher_web
- package:firebase_auth
- package:http
- package:provider
...
For solutions, see https://dart.dev/go/unsound-null-safety
Failed to compile application.
在URL中的指南称我应该“在迁移您的软件包之前等待依赖项迁移”,但我现在想立即使用默认情况下不可为空(NNBD)。
我该如何做呢?
no-sound-null-safety
参数添加 fastlane 构建?@creativecreatorormaybenot - Dolphin