flutter_custom_lints 1.0.19
flutter_custom_lints: ^1.0.19 copied to clipboard
A collection of custom lint rules for Flutter and Dart projects that enforce best practices and prevent common coding mistakes.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_custom_lintsWith Flutter:
$ flutter pub add flutter_custom_lintsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_custom_lints: ^1.0.19Alternatively, 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:flutter_custom_lints/flutter_custom_lints.dart';