infusion 0.1.1 copy "infusion: ^0.1.1" to clipboard
infusion: ^0.1.1 copied to clipboard

A light weight dependency injector that can be used with any dart project.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add infusion

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

dependencies:
  infusion: ^0.1.1

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:infusion/infusion.dart';
0
likes
150
points
20
downloads

Publisher

unverified uploader

Weekly Downloads

A light weight dependency injector that can be used with any dart project.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on infusion