Impact Calculator Screen
Component Detail
User Interface
medium complexity
mobile
1
Dependencies
0
Dependents
1
Entities
0
Integrations
Description
Interactive Flutter screen where peer mentors and coordinators input their activity hours, number of contacts supported, and travel costs to receive calculated impact figures. Displays results as both hours of support delivered and monetary equivalents (e.g., NOK equivalent of professional support), with accessible numeric inputs, sliders, and a results summary card.
impact-calculator-screen
Responsibilities
- Render input fields for activity hours, contact count, and travel costs with WCAG 2.2 AA compliance
- Display calculated impact results in real-time as users adjust inputs
- Present monetary equivalents and hour-based impact summaries in a visually compelling results card
- Provide export functionality to generate shareable summary card (PNG/PDF)
- Support offline calculation without backend dependency
Interfaces
buildInputForm()
onHoursChanged(double hours)
onContactCountChanged(int count)
onTravelCostChanged(double cost)
displayResults(ImpactResult result)
exportSummaryCard(ExportFormat format)
resetCalculator()
loadUserActivityDefaults()
showShareSheet(File summaryCard)