depi 1.1.2 copy "depi: ^1.1.2" to clipboard
depi: ^1.1.2 copied to clipboard

Dart and Flutter efficient dependency injection library with code generation

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add depi

With Flutter:

 $ flutter pub add depi

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

dependencies:
  depi: ^1.1.2

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:depi/depi.dart';
1
likes
150
points
48
downloads

Publisher

verified publishertomasweigenast.me

Weekly Downloads

Dart and Flutter efficient dependency injection library with code generation

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

lints, meta

More

Packages that depend on depi