Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
About the project
get_it is a type-safe service locator for Dart and Flutter applications, letting code register objects once and retrieve them from anywhere without relying on a widget context. It is for developers who need loosely coupled, testable access to services, models, and business logic in Flutter, Dart, server, command-line, or other applications. The catalogue skills and instruction provide agent guidance for using get_it.
Expert guidance on getit service locator and dependency injection for Flutter/Dart. Covers registration (singleton, factory, lazy, async), scopes with shadowing, async initialization with init() pattern, retrieval, testing with scope-based mocking, and production patterns. Use when working with getit, dependency…