flutter-state-management
Installation
SKILL.md
When to Use
- Creating any Riverpod provider or notifier
- Managing async data (API calls, Firebase queries)
- Handling loading/error/data states in UI
- Connecting presentation layer to use cases
Provider Types — Decision Tree
What kind of state do you need?
Computed value from other providers? → Provider (read-only)
Simple sync state with mutations? → NotifierProvider
Async data (API, DB) with mutations? → AsyncNotifierProvider
Async data (read-only, auto-fetch)? → FutureProvider
Real-time stream (WebSocket, Firestore)? → StreamProvider
Related skills