I'm trying to upgrade my Flutter project to Flutter2. I see all my packages are null-safe but bulid_runner
.
$ flutter pub outdated --mode=null-safety
Showing dependencies that are currently not opted in to null-safety.
[✗] indicates versions without null safety support.
[✓] indicates versions opting in to null safety.
Package Name Current Upgradable Resolvable Latest
direct dependencies: all support null safety.
dev_dependencies:
build_runner ✗1.12.2 - ✗1.12.2 ✗1.12.2
No resolution was found. Try running `flutter pub upgrade --null-safety --dry-run` to explore why.
1 dependency is constrained to a version that is older than a resolvable version.
My question is how can I upgrade to Flutter2 without such an important package is not supported. How can I solve this issue? Has anyone seen this problem?