flutter_sane_lints 0.3.0 copy "flutter_sane_lints: ^0.3.0" to clipboard
flutter_sane_lints: ^0.3.0 copied to clipboard

A custom lint for flutter projects to avoid ad-hoc string literals.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_sane_lints

With Flutter:

 $ flutter pub add flutter_sane_lints

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flutter_sane_lints: ^0.3.0

Alternatively, 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_sane_lints/flutter_sane_lints.dart';
4
likes
150
pub points
31%
popularity

Publisher

verified publisherel-darto.net

A custom lint for flutter projects to avoid ad-hoc string literals.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

analyzer, custom_lint_builder, meta

More

Packages that depend on flutter_sane_lints