Event Wizard State Manager
Component Detail
Service Layer
medium complexity
mobile
0
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
BLoC that owns all transient wizard state across the six steps: current step index, per-field values, validation status, and submission lifecycle. Keeps UI reactive and separates form state from persistence.
event-wizard-state-manager
Responsibilities
- Track current wizard step and allow forward/backward navigation
- Store and expose per-field values for title, date, time, duration, location, and summary
- Invoke Event Form Validator on each step-advance attempt
- Emit loading, success, and error states during submission
- Restore state from a local draft if one exists on wizard open
Interfaces
EventWizardBloc()
add(EventWizardEvent event)
stream: EventWizardState
close()