Skip to content
Videos
Video

Custom Linter Rule for Dart Analyzer - Flutter Global Summit'23 talk by Oleksandr Leushchenko

by Oleksandr Leuschenko youtube.com

32 min 1.4k views

This video is from the closed senior track from the Flutter Global Summit'23 conference. “This variable can be final”, “Add const here”, “Implicit dynamic” and many other rules help us be effective developers. And even may prevent critical mistakes in early development stages. These common rules were provided by the Dart team, they are the foundation of product quality. Flutter developers may go even further and add custom rules that will be specific to the team or project. During this talk, I will walk you through the process of creating a custom linter rule in easy and hard ways. --- Russia started an unfair and cruel war against my country. If you found this video interesting or useful, please, donate to Ukraine’s Armed Forces. I can recommend my friends volunteers — the “Yellow Tape”, you can be 100% sure that the money will support our victory. Thanks in advance to everyone who participated. Glory to Ukraine! 🇺🇦 Ukraine's Armed Forces - https://bank.gov.ua/en/news/all/natsionalniy-bank-vidkriv-spetsrahunok-dlya-zboru-koshtiv-na-potrebi-armiyi Yellow Tape - https://www.yellow-tape.com.ua/home-eng --- 00:00 Oleks is thinking about good old times 02:28 How to control Analyzer 03:58 Custom "Amend Model Suffix" linter rule the hard way 17:14 Custom "Amend Model Suffix" linter rule the easy way 23:11 Implementing auto-fix for custom linter rule 26:35 Custom rule for pubspec.yaml file 31:14 Conclusion

Made by

Oleksandr Leuschenko @olexale 🇺🇦 Ukraine

Available for hire

Hi, my name is Oleksandr! I am a cross-platform mobile developer, who started developing in times when iPhone had a non-retina display, Android was ugly, and Wi...

View Oleksandr on Flutter Pro
Forum

Questions about this, or something to add?

Discuss on the forum
It's All Widgets

Apps by Oleksandr Leuschenko

  • Speaking Around the Globe — improve pronunciation screenshot

    Speaking Around the Globe — improve pronunciation

    Improve your English and French pronunciation by reading interesting short texts

    Education

Report this · Wrote this? Claim it

Supported by