Advantage Calculator Screen
Component Detail
User Interface
low complexity
mobile
1
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Interactive Flutter screen presenting a form where peer mentors enter activity parameters (activity type, hours contributed, number of contacts supported) and view the calculated societal/economic impact result. Renders the output as a formatted card with a breakdown by category, using the same visual language as the Annual Summary card deck.
advantage-calculator-screen
Sources & reasoning
The primary UI surface for the feature. Users enter input parameters and see a formatted impact breakdown. Shares card-deck visual language with Annual Summary per implementation notes. Module toggle gates the entire screen.
No source references — this artifact was included based on reasoning alone (see above).
Responsibilities
- Render input form for activity type, hours, and contact count
- Display calculation result as a formatted impact card with category breakdown
- Show impact model version number on result screen
- Gate screen visibility behind the achievements-gamification module toggle
Interfaces
build(BuildContext) → Widget
onCalculate(AdvantageInputParams) → void
onReset() → void