dart_ioc 1.0.1 copy "dart_ioc: ^1.0.1" to clipboard
dart_ioc: ^1.0.1 copied to clipboard

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
40
pub points
0%
popularity

Publisher

unverified uploader

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

License

MIT (LICENSE)

More

Packages that depend on dart_ioc