dime 0.3.0-rc dime: ^0.3.0-rc copied to clipboard
Dime is Dependency getion for Dart, allows to define modules with signle/creator inejction factories, allows String tagging and simple Scope tree.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dime
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dime: ^0.3.0-rc
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:dime/dime.dart';