Nothing soothes more than clean code!

Don’t you get clumsy looking at dirty, messed up code? One should always follow strict rules to make code clean! Let’s see how you can do that with lint rules in Dart!

Step 1: Add flutter_lints into dev_dependency and run flutter pub get!

dev_dependencies:
flutter_lints: ^1.0.4

Step 2: Create analysis_options.yaml file in the root of your project

Don’t forget to connect with me on:

Don’t stop, until you are breathing!💙
- Abhishek Doshi

Google Developer Expert — Dart & Flutter 💙