di_generator_build 1.6.2
di_generator_build: ^1.6.2 copied to clipboard
A powerful build runner package for automatic dependency injection code generation using GetIt in Flutter applications.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add di_generator_buildThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
di_generator_build: ^1.6.2Alternatively, 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:di_generator_build/di_generator_build.dart';