Event Wizard BLoC
Component Detail
Service Layer
medium complexity
mobile
2
Dependencies
1
Dependents
1
Entities
0
Integrations
Description
Flutter BLoC managing wizard step state, validation results, and draft persistence for the Event Creation flow. Coordinates step transitions, collects partial form data per step, and dispatches the final create request to the Event API Client.
event-wizard-bloc
Responsibilities
- Manage current step index and step completion state
- Accumulate per-step form data into a unified event draft
- Trigger per-step validation before advancing
- Dispatch create event API call and emit success or error state
Interfaces
add(EventWizardEvent event)
EventWizardState get state
Stream<EventWizardState> get stream
saveDraftLocally()
restoreDraft()
resetWizard()
Relationships
Dependencies (2)
Components this component depends on