当我运行“dart migrate”以启用空安全时,它会给出以下输出。
\n\nBefore migrating your package, we recommend ensuring that every library it\nimports (either directly or indirectly) has been migrated to null safety, so\nthat you will be able to run your unit tests in sound null checking mode. You\nare currently importing the following non-null-safe libraries:\n\n package:stepfly/common/Functions/Constants/constants.dart\n package:stepfly/common/Functions/Utils/random_string.dart\n package:stepfly/common/Functions/Utils/timeUtils.dart\n package:stepfly/common/Functions/Utils/utilExam.dart\n package:stepfly/common/Functions/Utils/utilInternet.dart\n package:stepfly/common/Functions/Utils/utils.dart\n package:stepfly/common/Functions/Utils/utilsResourse.dart\n package:stepfly/common/Functions/Utils/utilsUserData.dart\n package:stepfly/common/Responsive/enums/device_screen_type.dart\n package:stepfly/common/Responsive/platformInfo.dart\n package:stepfly/common/Responsive/responsive/responsive_builder.dart\n ......\n\nPlease upgrade the packages containing these libraries to null safe versions\nbefore continuing. To see what null safe package versions are available, run\nthe following …Run Code Online (Sandbox Code Playgroud)