Monstarlab Flutter Lints #
Flutter lint rules used by Monstarlab. Built on top of the officially recommended Flutter rules.
dart pub add dev:monstarlab_lints
# or
flutter pub add dev:monstarlab_lints
Or add it to the pubspec.yaml
yourself:
dev_dependencies:
monstarlab_lints: ^1.0.2
Modify your analysis_options.yaml
:
include: package:monstarlab_lints/analysis_options.yaml
Run this command:
With Dart:
$ dart pub add monstarlab_lints
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
monstarlab_lints: ^1.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:monstarlab_lints/monstarlab_lints.dart';
Download details:
Author: monstar-lab-oss