What problem does it solve?
This Skill helps you design, implement, and refine Flutter feature state management so screens react predictably to async work, user actions, and server responses without tangled UI logic.
Core Features & Use Cases
- Cubit-first orchestration: Choose the simplest state machine for most feature slices and keep application logic out of widgets.
- Sealed state modeling: Represent idle, loading, success, and error phases with Freezed-backed sealed states for exhaustive UI handling.
- Async flow wiring: Connect buttons, use cases, and screen reactions cleanly when a slice loads data, submits forms, or handles failures.
- Bloc and test guidance: Apply Bloc only when event streams, throttling, or traceability are required, and keep bloc_test coverage aligned with the state contract.
- Use case example: Build a ticket-selection screen that emits loading while reserving seats, then updates the UI on success or surfaces a typed failure on error.
Quick Start
Ask for a Flutter state design that uses Cubit, Freezed sealed states, and clean loading and error handling for the screen you are building.