Skip to content

Latest commit

History

History
29 lines (16 loc) 路 946 Bytes

File metadata and controls

29 lines (16 loc) 路 946 Bytes

Got linter issues? Use dart fix --apply

Ever tried to update an old Flutter project to the latest APIs and got a ton of linter issues? 馃槶

For example, all the default text styles have been renamed in Flutter 3.7. 馃檮

In cases like this, just run dart fix --apply. 馃殌

And you're good to go! 馃憣


There's much more to know about dart fix, the Flutter analyzer, and ways to fix errors automatically in VSCode.

For all the details, check the latest tip on my website:


Found this useful? Show some love and share the original tweet 馃檹


Previous Next
Using context.mounted in Flutter 3.7 Firebase Billing and Cost Calculator