dependency_injection_flutter 2.0.0 copy "dependency_injection_flutter: ^2.0.0" to clipboard
dependency_injection_flutter: ^2.0.0 copied to clipboard

dependency injection for flutter. inject factories or singletons. Easy to develop, easy to test.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dependency_injection_flutter

With Flutter:

 $ flutter pub add dependency_injection_flutter

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

dependencies:
  dependency_injection_flutter: ^2.0.0

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:dependency_injection_flutter/dependency_injection_flutter.dart';
5
likes
130
pub points
36%
popularity

Publisher

unverified uploader

dependency injection for flutter. inject factories or singletons. Easy to develop, easy to test.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on dependency_injection_flutter