View Switcher Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Toggle widget allowing users to switch between Contacts and Peer Mentors list views. The selected view preference is persisted in local storage via Riverpod so the user returns to their preferred view on next launch.
view-switcher-widget
Responsibilities
- Render toggle between Contacts and Peer Mentors views
- Persist selected view mode to local preferences
- Notify parent screen of view mode change
Interfaces
setActiveView(view: ViewMode)
getActiveView() ViewMode
onViewChanged(view: ViewMode)