We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
刚升了 Flutter 1.20,并尝试迁移代码到 non-nullable,突然发现用这个工具生成的 json 代码全部都报错了。
The text was updated successfully, but these errors were encountered:
我更新了以后没碰到你说的错误 能详细说下什么情况吗
Sorry, something went wrong.
@debuggerx01 空安全打开了吗? 升到最新的话 dart 应该是 2.9。 analysis_options.yaml 文件中加入
analysis_options.yaml
analyzer: enable-experiment: - non-nullable
调整pubspec.yaml中的sdk版本为
pubspec.yaml
environment: sdk: ">=2.9.0 <3.0.0"
@TshineZheng null-safety 分支更新了 😄
No branches or pull requests
刚升了 Flutter 1.20,并尝试迁移代码到 non-nullable,突然发现用这个工具生成的 json 代码全部都报错了。
The text was updated successfully, but these errors were encountered: