auto_provider_generator 0.0.15
auto_provider_generator: ^0.0.15 copied to clipboard
Code generator for @AutoProvid annotation, enabling automatic Bloc state management With lazy singletons GetIt and auto routing integration.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add auto_provider_generatorWith Flutter:
$ flutter pub add auto_provider_generatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
auto_provider_generator: ^0.0.15Alternatively, 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:auto_provider_generator/auto_provider_generator.dart';