Skip to main content

inject_lints 0.4.0 copy "inject_lints: ^0.4.0" to clipboard
inject_lints: ^0.4.0 copied to clipboard

Analyzer plugin for inject.dart. It reports in the IDE what the inject.dart code generator would reject, and offers optional style rules.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add inject_lints

With Flutter:

 $ flutter pub add inject_lints

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

dependencies:
  inject_lints: ^0.4.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:inject_lints/main.dart';
0
likes
150
points
--
downloads

Documentation

Documentation
API reference

Publisher

verified publisherdasralph.de

Analyzer plugin for inject.dart. It reports in the IDE what the inject.dart code generator would reject, and offers optional style rules.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #analyzer #lints

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, glob, path, yaml

More

Packages that depend on inject_lints