get_it
Fast dependency injection and service location for Flutter apps
All Skills in This Repository (2)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install get_it?โผ
Run `npx skills add flutter-it/get_it --all -g -y` in your terminal to install all skills in this suite globally.
What is get_it used for in Flutter?โผ
get_it is a fast service locator that lets you register services once and access them anywhere in your app without passing BuildContext or using code generation.
How do I handle async service initialization with get_it?โผ
Register services with registerSingletonAsync and an init() method, then await getIt.allReady() before accessing them, typically behind a splash screen.
Does get_it work with AI coding assistants?โผ
Yes. It ships SKILL.md files that teach Claude Code, Cursor, and other agents the correct registration, scoping, and testing patterns.
How do I mock services in tests with get_it?โผ
Push a new scope in setUp that registers your mocks, then pop it in tearDown so real registrations stay untouched between tests.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core