locator top-level property

GetIt locator
final

Global service locator instance for dependency injection.

This is the main GetIt instance used throughout the application to access registered services, repositories, view models, and providers. Services are registered during application startup and can be retrieved from anywhere in the application using this locator.

Example:

final databaseService = locator<DatabaseService>();

Implementation

final GetIt locator = GetIt.instance;