Personal Stats Screen
Component Detail
User Interface
medium complexity
mobile
2
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Full-screen Flutter view displaying a peer mentor's personal activity statistics: total activities, hours, contacts supported, and time-bucketed charts. Designed for low-digital-skill users with large touch targets, high-contrast colour coding, and pattern fills for colourblind accessibility. All chart data is mirrored as a semantics-labelled text summary for VoiceOver and TalkBack.
personal-stats-screen
Responsibilities
- Render time-range selector (week / month / year) and pass the selected bucket to the statistics Riverpod provider
- Display activity-count and hours charts using fl_chart with WCAG 2.2 AA contrast and pattern fills
- Show motivational delta card (this month vs last month) and streak/personal-best badges
- Expose full semantic text alternatives for every chart via Flutter Semantics widget
- Display last-synced timestamp without blocking or showing a loading spinner for locally cached data
Interfaces
build(BuildContext) → Widget
onTimeBucketChanged(TimeBucket) → void
onRefreshRequested() → void
Relationships
Dependencies (2)
Components this component depends on