dioc: ^0.1.6 copied to clipboard
Inversion of control based on dependency injection through containers.
Use this package as a library
Depend on it
Run this command:
$ dart pub add dioc
$ flutter pub add dioc
This will add a line like this to your package's pubspec.yaml (and run an implicit
dart pub get):
dependencies: dioc: ^0.1.6
Alternatively, your editor might support
dart pub get or
flutter pub get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use: