modularity_get_it
Standalone GetIt adapter for the Modularity dependency injection framework.
Provides a GetItBinder backed by a single GetIt instance with support for RegistrationAwareBinder strategies (replace vs preserve-existing) and a GetItBinderFactory for use with ModularityRoot.
Usage
dart
ModularityRoot(
binderFactory: const GetItBinderFactory(),
child: const MyApp(),
)For injectable integration, use the modularity_injectable package instead, which manages separate private/public containers.
Classes
| Class | Description |
|---|---|
| GetItBinder | Standalone Binder implementation backed by a single scoped GetIt instance, with RegistrationAwareBinder support for strategy switching. |
| GetItBinderFactory | BinderFactory that produces standalone GetItBinder instances. |