Linting is something that you should be using for every single project. It is a one time set up that helps all your projects stay clean and organized. You have lots of options to either use packages or you can make custom ones and do it yourself which is my preferred way.
Reference Links
Code: https://github.com/tadaspetra/flutter_basics/tree/master/024_linting/linting
#developer