Skip to main content

syringe 1.0.0-alpha.1 copy "syringe: ^1.0.0-alpha.1" to clipboard
syringe: ^1.0.0-alpha.1 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: ^1.0.0-alpha.1

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
1.54k
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