[英]Cannot run with sound null safety, because the following dependencies don't support null safety
[英]Cannot run with sound null safety, because the following dependencies don't support null safety:
我的代碼出現以下錯誤。 只需在 pubspec.yamal 中添加flutter_svg: ^1.0.3<\/strong> 。 如何解決此錯誤。 appriciate 對此的幫助。
錯誤:無法以可靠的 null 安全性運行,因為以下依賴項不支持 null 安全性:
https:\/\/dart.dev\/go\/unsound-null-safety<\/a>
試試下面的代碼希望對你有幫助
將以下行添加到您的
main.dart<\/code>文件頂部
// @dart=2.9
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.