Location Pin Widget
Component Detail
User Interface
medium complexity
mobile
0
Dependencies
0
Dependents
2
Entities
0
Integrations
Description
Custom Flutter widget rendered as a map marker representing a single peer mentor's home area. Displays availability status through colour coding aligned with the unified entity colour system, and renders mentor initials or avatar for quick identification. Supports pressed/selected states for interaction feedback.
location-pin-widget
Responsibilities
- Render custom-styled map pin with availability colour indicator
- Display mentor initials or avatar within the pin
- Handle selected and pressed visual states
- Provide accessible semantic labels for screen reader support
Interfaces
buildPin(mentorId, availabilityStatus)
setSelected(isSelected)
getAccessibilityLabel()
applyColorForStatus(status)
buildClusterBadge(count)
Related Data Entities (2)
Data entities managed by this component