Calculator Screen
Component Detail
User Interface
medium complexity
mobile
3
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Self-contained Flutter screen that lets peer mentors and coordinators input activity hours, activity types, and geographic region to compute accrued advantages in real time. All outputs update reactively via BLoC state management without requiring a network call. Fully WCAG 2.2 AA compliant with labelled fields, keyboard entry support, and screen-reader announcements on result change.
calculator-screen
Responsibilities
- Render input controls for hours per month, activity types, and region selection
- Display real-time computed benefit estimates (reimbursements, course credits, certification value)
- Announce updated results via accessibility semantics after each computation
- Show loading/offline state when benefit configuration is unavailable
Interfaces
build(BuildContext context) → Widget
onInputChanged(CalculatorInput input) → void
onRegionSelected(String regionId) → void
onActivityTypeToggled(String typeId) → void
Relationships
Dependencies (3)
Components this component depends on