Notification Preferences Screen
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Flutter screen presenting a categorized list of notification scenarios (assignments, activities, events, expenses, certificates) with per-category toggles for push, email, and SMS channels. Uses a grouped ListView with semanticLabel on each switch for full screen reader support and WCAG 2.2 AA compliant touch targets.
notification-preferences-screen
Responsibilities
- Render categorized notification preference toggles grouped by scenario type
- Provide per-channel toggle controls (push, email, SMS) for each category
- Ensure WCAG 2.2 AA compliance with semantic labels, sufficient contrast, and minimum 24x24 touch targets
- Display current preference state fetched from the backend and optimistically update on toggle change
Interfaces
build(BuildContext context)
renderCategoryGroup(NotificationCategory category)
renderChannelToggle(String category, String channel, bool enabled)
onToggleChanged(String category, String channel, bool value)
showSaveConfirmation()
showErrorState(String message)
Relationships
Related Data Entities (2)
Data entities managed by this component