dryice library

Lightweight dependency injection framework for Dart.

Classes

InjectAnnotation
Injector
Resolve types to their implementing classes
InjectorImpl
Implementation of Injector.
Module
Associates types with their concrete instances returned by the Injector
Named
Used in conjunction with Inject to select a specific named target for injection
Registration
Registration between a Type and its instance creation.
TypeMirrorWrapper
Wrapper for TypeMirror to support multiple named registration for the same Type */

Constants

inject → const InjectAnnotation
Compatibility to JSR-330 https://github.com/google/guice/wiki/JSR330
injectable → const InjectAnnotation

Functions

isInjectable(Type type) → bool
stringAsSymbol(String string) → Symbol
symbolAsString(Symbol symbol) → String

Typedefs

TypeBuilder() → dynamic
Function that builds instance of a bound types