syringe 0.9.7-pre copy "syringe: ^0.9.7-pre" to clipboard
syringe: ^0.9.7-pre copied to clipboard

Syringe is a dependency injection (DI) library for Dart applications.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add syringe

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

dependencies:
  syringe: ^0.9.7-pre

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

Publisher

unverified uploader

Weekly Downloads

Syringe is a dependency injection (DI) library for Dart applications.

Repository (GitHub)
View/report issues

Topics

#di #dependency

License

unknown (license)

Dependencies

meta

More

Packages that depend on syringe