What problem does it solve?
Managing complex business logic in Flutter apps can become error-prone and hard to maintain without proper state separation, persistence, and debugging tooling. This Skill provides a mature BLoC-based architecture that cleanly separates UI from logic, enables state persistence via Hydrated BLoC, supports replay/undo for debugging, and integrates robust testing patterns.
Core Features & Use Cases
- State separation: Clear division between presentation and business logic using Bloc and Cubit.
- Persistence: Hydrated Bloc integration to automatically persist selected state to disk.
- Debugging & testing: ReplayBloc usage for debugging state transitions and bloc_test-ready test scaffolding.
- Event transformation: Debounce, throttle, and retry transformers to control event flow in complex UI flows.
- Dependency Injection: GetIt and Injectable for scalable app architecture.
- Ideal use cases: Enterprise Flutter apps with complex workflows, multi-step forms, and long-lived sessions requiring resilience and observability.
Quick Start
Set up Hydrated Bloc storage in your Flutter app and bootstrap a sample feature to immediately see advanced BLoC patterns in action.