ioc 0.3.0 copy "ioc: ^0.3.0" to clipboard
ioc: ^0.3.0 copied to clipboard

discontinued

The most simple IoC Container of Dart and Flutter If you looking for a package that is light-weight and provide production-ready of inversion of control, then this package is right for you. This packa [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add ioc

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

dependencies:
  ioc: ^0.3.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:ioc/ioc.dart';
6
likes
30
pub points
45%
popularity

Publisher

unverified uploader

The most simple IoC Container of Dart and Flutter If you looking for a package that is light-weight and provide production-ready of inversion of control, then this package is right for you. This package provides only 2 main api, easy to learn and use, but definitely fits most use case in your flutter project. If you are a server developer developing small or medium scale project, it's very likely you want to use this package. However, large scale project may need more powerful heavy-weight IoC library. You **can** use it in your angular project, but we highly recommend you use dependency injection system provided by angular.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on ioc