dart_ioc 1.0.1

Dart native

An IoC container implementation for dart and flutter with support for types, singletons, factory methods and merging of containers.

pipeline status coverage report

A simple IoC Container for Dart.

Usage #

A simple usage example:

import 'package:dart_ioc/dart_ioc.dart';

main() {
  var container = new Container()
    .register<A>
    .registerSingleton(Stream.value(100));

  var stream = container.resolve<Stream>()  
}

See also examples for detailed examples.

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1
likes
80
pub points
0%
popularity

An IoC container implementation for dart and flutter with support for types, singletons, factory methods and merging of containers.

Homepage
Repository (GitLab)
View/report issues

Documentation

Documentation
API reference

Uploader

stefan.vogelsang@gmail.com

License

MIT (LICENSE)

More

Packages that depend on dart_ioc