-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
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
Null-safety #3037
Comments
See #2920 - this is nearly ready to be published we are just validating things internally right now. |
(the issue is closed because we have actually landed all the code necessary to write and test a null safe builder in sound mode, we just need to publish) |
Hej @jakemac53 I am just checking availability to update my project to flutter 2.0 and dart with null safety support. Run:
Result:
|
You can freely update to null safety - note that |
@jakemac53 can you please elaborate on how to upgrade a project that uses build_runner to null safety? I've been trying to follow the official migration guide with no luck for a few hours now... |
@petoknm where are you running into issues? |
$ dart pub outdated --mode=null-safety
...
No resolution was found. Try running `dart pub upgrade --null-safety --dry-run` to explore why.
$ dart pub upgrade --null-safety --dry-run
null-safety compatible versions do not exist for:
- build_runner
- hive_generator
... And from then on I cannot follow the guide, because technically not all my deps are null safe. So I'm unsure what to do. |
You can ignore these, and continue to follow the guide. As long as they are not imported directly it won't impact the migration. |
@jakemac53 Where can I find that guide? |
What is the plan for upgrading to support null-safety?
The text was updated successfully, but these errors were encountered: