dart_ddi 0.8.0 copy "dart_ddi: ^0.8.0" to clipboard
dart_ddi: ^0.8.0 copied to clipboard

A Dependency Injection package, with Qualifier, Decorators, Interceptors, Events and more. Inspired by Java CDI and get_it.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_ddi

With Flutter:

 $ flutter pub add dart_ddi

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

dependencies:
  dart_ddi: ^0.8.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:dart_ddi/dart_ddi.dart';
0
likes
160
pub points
38%
popularity

Publisher

unverified uploader

A Dependency Injection package, with Qualifier, Decorators, Interceptors, Events and more. Inspired by Java CDI and get_it.

Repository (GitHub)
View/report issues

Topics

#dependency-injection #di #inject #cdi

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on dart_ddi