Event Wizard UI
Component Detail
Description
Multi-step Flutter wizard for creating events, covering title, date, time, duration, location, and summary in sequential steps. Reuses shared form widgets from the activity registration wizard to ensure visual and interaction consistency. Enforces WCAG 2.2 AA with semantic labels, 24x24 px touch targets, and visible focus indicators on all controls.
event-wizard-ui
Sources & reasoning
The wizard UI is the primary user-facing surface for event creation. The multi-step structure (title → date → time → duration → location → summary) is explicitly defined in the source doc. WCAG requirements drive the accessible field and touch-target implementation details.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render each wizard step with validated, accessible form fields
- Preserve entered data across back-navigation using BLoC/Riverpod step state
- Display inline validation errors and guide the user to completion
- Submit the completed event payload to Event Service on final step confirmation
- Show loading and error states during submission
Interfaces
WizardStepWidget(stepIndex, onNext, onBack)
EventFormFields(title, date, time, duration, location, summary)
WizardProgressIndicator(currentStep, totalSteps)
EventSubmitButton(onSubmit, isLoading)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (2)
Data entities managed by this component