injectzone 0.0.2 copy "injectzone: ^0.0.2" to clipboard
injectzone: ^0.0.2 copied to clipboard

Injeczone is a simple and lightweight dependency injection library for Dart that allows you to override dependencies via your type.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add injectzone

With Flutter:

 $ flutter pub add injectzone

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

dependencies:
  injectzone: ^0.0.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:injectzone/injectzone.dart';
2
likes
150
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Injeczone is a simple and lightweight dependency injection library for Dart that allows you to override dependencies via your type.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

More

Packages that depend on injectzone