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

Dart 1 only

Lightweight dependency injection framework for Dart.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dice

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

dependencies:
  dice: ^2.0.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dice/dice.dart';
0
likes
10
pub points
17%
popularity

Publisher

unverified uploader

Lightweight dependency injection framework for Dart.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

logging

More

Packages that depend on dice