dartian_di 1.1.0 copy "dartian_di: ^1.1.0" to clipboard
dartian_di: ^1.1.0 copied to clipboard

Dependency injection container for Dartian with auto-discovery annotations and cycle detection

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartian_di

With Flutter:

 $ flutter pub add dartian_di

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

dependencies:
  dartian_di: ^1.1.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:dartian_di/dartian_di.dart';
0
likes
120
points
37
downloads

Publisher

verified publisherdartian.org

Weekly Downloads

Dependency injection container for Dartian with auto-discovery annotations and cycle detection

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#dependency-injection #di #ioc #service-locator

Documentation

API reference

License

unknown (license)

Dependencies

analyzer, build, get_it, source_gen

More

Packages that depend on dartian_di