Flutter--Error: Cannot run with sound null safety, because the following dependencies don't sup

Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:

flutter sdk提示不是支持 null safety模式

解决方法:

flutter run --no-sound-null-safety
flutter build apk --no-sound-null-safety

 

亲测有效,仅做记录!

上一篇:(UVA - 10048) Audiophobia(floyd算法)


下一篇:Azure PowerShell (18) 导出虚拟网络的网络安全组(NSG)配置信息