davianspace_dependencyinjection 1.0.3 copy "davianspace_dependencyinjection: ^1.0.3" to clipboard
davianspace_dependencyinjection: ^1.0.3 copied to clipboard

Microsoft.Extensions.DependencyInjection-inspired DI container for Dart and Flutter with scopes, async resolution, keyed services, and diagnostics.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add davianspace_dependencyinjection

With Flutter:

 $ flutter pub add davianspace_dependencyinjection

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

dependencies:
  davianspace_dependencyinjection: ^1.0.3

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:davianspace_dependencyinjection/davianspace_dependencyinjection.dart';
0
likes
160
points
112
downloads

Documentation

API reference

Publisher

verified publisherdavian.space

Weekly Downloads

Microsoft.Extensions.DependencyInjection-inspired DI container for Dart and Flutter with scopes, async resolution, keyed services, and diagnostics.

Repository (GitHub)
View/report issues
Contributing

Topics

#dependency-injection #di #flutter #architecture #service-container

License

MIT (license)

Dependencies

davianspace_configuration, davianspace_options

More

Packages that depend on davianspace_dependencyinjection