简体   繁体   English

Flutter Null 安全

[英]Flutter Null Safety

I have a project I did before null safety was introduced, now my code has a lot of errors and I want to downgrade my flutter and dart to before null safety.我有一个项目我在引入 null 安全性之前做过,现在我的代码有很多错误,我想将我的 flutter 和 dart 降级到 Z307BA62586Z48C12DEDFFDADEDFFA62586Z48C1 安全性之前。 How can I do that?我怎样才能做到这一点?

Because your title is different from your question.因为您的标题与您的问题不同。 I will answer you only to question.我只会回答你的问题。

Inside terminal:航站楼内:

flutter downgrade v1.xx you can see flutter versions here (please use the version that you had before the upgrade). flutter downgrade v1.xx您可以在此处查看 flutter 版本(请使用升级前的版本)。 More about downgrade find here please.有关降级的更多信息,请在此处找到。

After that, run flutter doctor -v to check the version.之后,运行flutter doctor -v来检查版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM