Learn
Learn Ark DI
Understand immutable registration, contextual resolution, scopes, ownership, async initialization, and teardown.
v0.1.0-dev.1Beginner
Learn Ark DI
Ark DI is a pure-Dart object-graph runtime. It owns composition mechanics, not business behavior and not a hidden global access point.
Recommended path
- Getting started builds and closes a small graph.
- Composition Root explains where concrete types are connected.
- Registrations and ownership separates acquisition from lifecycle responsibility.
- Scopes and overrides defines hierarchy and local-first resolution.
- Async resolution covers deterministic access, retries, and shared in-flight initialization.
- Lifecycle and teardown explains active leases and reverse dependency order.
Flutter integration is a separate branch backed by ark_di_flutter.