mz_lints 0.0.1
mz_lints: ^0.0.1 copied to clipboard
Custom Dart lint rules for Flutter apps. Includes rules for proper disposal of ChangeNotifiers, listener cleanup, and Controller lookup patterns.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mz_lintsWith Flutter:
$ flutter pub add mz_lintsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mz_lints: ^0.0.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mz_lints/mz_lints.dart';