Assignment Counter Widget
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Flutter BLoC widget displayed on the peer mentor home screen showing current completed assignment count, the next threshold value, and the delta remaining. Lightweight, accessible, and updates reactively from BLoC state.
assignment-counter-widget
Responsibilities
- Render current count, next threshold, and delta remaining
- Consume ThresholdTrackingBloc state via BLoC listener
- Meet WCAG 2.2 AA contrast and touch target requirements
- Show tier label (e.g. Office Honorarium, Higher Rate) when threshold is reached
Interfaces
ThresholdCounterState render(ThresholdCounterState state)
onThresholdReached(int threshold)