Flutter Lint Rules Used in Monstarlab EMEA

Monstarlab Flutter Lints  #

Flutter lint rules used by Monstarlab. Built on top of the officially recommended Flutter rules.

Usage

Install

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

Configure analysis options

Modify your analysis_options.yaml:

include: package:monstarlab_lints/analysis_options.yaml

Use this package as a library

Depend on it

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.

Import it

Now in your Dart code, you can use:

import 'package:monstarlab_lints/monstarlab_lints.dart'; 

Download details:

Author: monstar-lab-oss

Source: https://github.com/monstar-lab-oss/flutter_lints

#flutter #android 

Flutter Lint Rules Used in Monstarlab EMEA
1.60 GEEK