syringe 0.9.8 copy "syringe: ^0.9.8" to clipboard
syringe: ^0.9.8 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

With Flutter:

 $ flutter 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.8

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:syringe/syringe.dart';
2
likes
160
points
351
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

#di #dependency

License

MIT (license)

Dependencies

meta

More

Packages that depend on syringe