gbtb16/kiwi
Dart 및 Flutter용 간단한 컴파일 시 종속성 주입 라이브러리
- Stars
- 348
- Forks
- 58
- 최근 푸시(UTC)
- 2026. 8. 17.
- 프로젝트 상태
- 활성
기술 주제
원본 README
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
README 펼치기 / 접기
kiwi
kiwi kiwi_generator dart_kiwi_example flutter_kiwi_example
Logo
A simple yet efficient IoC container for Dart and Flutter, coupled with a powerful generator to allow you to write less code.
The container does not rely on reflection, it's just a Map, so it's fast.
While using the generator, only constructor injection is supported.
Kiwi
The core package providing the IoC container and the annotations which has no dependencies.
Import it into your pubspec dependencies: section.
Kiwi Generator
The package providing the generator.
Import it into your pubspec dev_dependencies: section.
Dart Kiwi Example
An example showing how to setup kiwi and kiwi_generator inside a Dart CLI project.
Flutter Kiwi Example
An example showing how to setup kiwi and kiwi_generator inside a Flutter project.
Contributions
Feel free to contribute to this project.
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a new feature, please send a pull request.