di_storage 2.0.0 copy "di_storage: ^2.0.0" to clipboard
di_storage: ^2.0.0 copied to clipboard

DiStorage is a lightweight dependency injection library for dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add di_storage

With Flutter:

 $ flutter pub add di_storage

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

dependencies:
  di_storage: ^2.0.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:di_storage/di_storage.dart';
2
likes
160
points
168
downloads

Publisher

unverified uploader

Weekly Downloads

DiStorage is a lightweight dependency injection library for dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on di_storage