dicom

Creator: coderz1093

Last updated:

0 purchases

dicom Image
dicom Images

Languages

Categories

Add to Cart

Description:

dicom

Extremely simple, fast and clear Dependency Injection (DI) and Inversion of Control (IOC) container.
Features #

Helping resolving dependencies initialisation order easily
Pure Dart library, no Flutter dependency
Dependency Injection by explicit Type or by Interface
"Lazy" instantiating
Singletons and Multiple dependencies (see [getAll] for details)
Resolution context with current dependency tree for automatic loggers definition and similar tasks
Nested containers
Easy debug: clear errors messages about missing dependencies with exact dependency tree description

Getting started #
Simply add as a dependency in pubspec.yaml
Usage #
Please follow to /example folder for simple console application template example.
final di = DI();
di
..bind(to: (c) => createLogger(c.plan[c.plan.length - 2]), dynamic: true)
..bind(to: (c) => AppConfig)
..bind(to: (c) => AppController(appConfig: c.get(), logger: c.get()));
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.