Activity Type Selection Screen
Component Detail
User Interface
low complexity
mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Full-screen selector presenting available activity types loaded from the REST API and cached locally via SQLite for offline availability. Renders as a scrollable list or grid of tappable cards with WCAG 2.2 AA compliant touch targets (minimum 44×44px), visible focus rings, and Semantics() labels for VoiceOver and TalkBack. Supports dynamic terminology from the organization labels system so each organization can display its own activity type names.
activity-type-selection-screen
Responsibilities
- Display available activity types from local SQLite cache
- Handle activity type selection and navigate to confirmation or wizard
- Enforce WCAG 2.2 AA touch target and contrast requirements
- Apply organization-specific dynamic terminology labels
Interfaces
build(BuildContext context)
onActivityTypeSelected(ActivityType type)
loadActivityTypes()
refreshFromApi()
showEmptyState()
showLoadingState()
showErrorState(String message)
Relationships
Dependencies (2)
Components this component depends on
Related Data Entities (1)
Data entities managed by this component