locator library
Dependency injection locator for the CulicidaeLab mobile application.
This file configures and manages all service locators using the GetIt dependency injection framework. It provides centralized access to repositories, services, view models, and providers throughout the application.
The locator pattern ensures proper dependency injection, testability, and separation of concerns by managing the lifecycle of application services.
Usage:
await setupLocator(); // Initialize all dependencies
final service = locator<ServiceType>(); // Retrieve services
Properties
Functions
-
setupLocator(
) → Future< void> - Sets up the dependency injection locator with all application services.