Map List Toggle Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Accessible toggle button that switches the coordinator between the interactive map view and a plain list view of peer mentors sorted by distance. Required for WCAG 2.2 AA compliance since interactive maps are inherently inaccessible to screen reader users.
map-list-toggle-widget
Responsibilities
- Render toggle button with clear map/list labels and icons
- Emit view-mode change events
- Maintain accessible semantics and focus state
Interfaces
build(BuildContext)
onToggle(ViewMode mode)
setActiveMode(ViewMode mode)