# get_it

> A simple, fast service locator for Dart and Flutter

Source: https://talira.ai/catalog/get-it-dxvvp618
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / dependency injection](https://talira.ai/categories/libraries/dependency-injection), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Thomas Burkhart](https://talira.ai/orgs/thomas-burkhart.md)

get_it is a type-safe service locator for Dart and Flutter: register services, models and business logic once at startup and get them from anywhere in the app in constant time, without a BuildContext, code generation or reflection. Objects can be registered as singletons, lazy singletons or factories, async initialisation is supported, and hierarchical scopes swap registrations for states such as login and logout; real implementations are easily replaced by mocks in tests. It works in Flutter, plain Dart, server and CLI apps, and is part of the flutter_it set of packages alongside watch_it, command_it and listen_it. MIT licensed, maintained by Thomas Burkhart.

## Links

- GitHub: https://github.com/flutter-it/get_it
- Docs: https://flutter-it.dev/documentation/get_it/getting_started

## Problems it solves

- access my services from anywhere in a Flutter app without passing BuildContext around
- decouple my Dart code from concrete implementations so I can swap in mocks for tests
- register objects once at startup and get the same instance everywhere in a Flutter app

## Features

- O(1) lookups of registered objects from anywhere
- singleton, lazy singleton and factory registration
- async singletons and startup initialisation
- hierarchical scopes for app states such as login and logout
- swap implementations for mocks in tests
- no code generation, reflection or BuildContext

## Trust

Overall: 0.46 out of 1.
Signals: maintenance 0.51, adoption 0.63, momentum 0.36, community 0.70, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 9 commits in the last 90 days
- latest release v8.2.0 16 months ago
- 1.5k GitHub stars
- 55 contributors
- accepts sponsorship (Github, Custom)
- backed by Thomas Burkhart

## Sources

[^1]: https://github.com/flutter-it/get_it/blob/main/LICENSE (checked 27 Nov 2026)
