koin 0.9.1 koin: ^0.9.1 copied to clipboard
A pragmatic lightweight dependency injection framework for Dart projects.
Koin.dart #
A pragmatic lightweight dependency injection framework. This is a port of Koin for Dart projects.
Extensions #
Package | Pub |
---|---|
koin_test | |
koin_flutter |
Get started #
Add dependency #
dependencies:
koin: ^[version]
Features #
- Pragmatic
- Modules
- Scopes
- Singleton definition
- Factory definition
- Scoped definition
- Support to multiple bindings
- Support to named definition
- Easy testing
- Lazy inject
- Logging
- Support to injection parameters