r/FlutterDev • u/bizz84 • Sep 01 '26
Plugin ACT Dart Tools: a deterministic CLI to migrate entire Dart codebases to the new primary constructors syntax
https://github.com/CodeWithAndreaPro/act-dart-toolsExample migration here:
3
Upvotes
2
u/Amazing-Mirror-3076 Sep 01 '26
Is there not a lint/fix for this?
1
u/TheManuz Sep 02 '26
I've tried it, it's impressive.
I've found that if I have two constructors (an unnamed one and a named one) it will convert them to the new syntax but doesn't promote the unnamed to primary.
Is this intended?
However it's just a small detail, i migrated a lot of classes easily.
Thanks for publishing such a powerful tool.