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