资料 Mirgating to null safety Unsound null safety 步骤 在命令行输入如下命令,检查依赖状态 dart pub outdated --mode=null-safety 如果需要更新 dart pub get Migrate dart migrate