Font Scale Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Interactive slider widget that lets users choose a font scale factor between 85% and 200% of the base size. Renders a sample text block at the selected scale so users can see the effect before saving.
font-scale-widget
Responsibilities
- Render a labelled scale slider with discrete steps
- Display sample text at the current scale factor
- Emit scale change events to parent screen
Interfaces
FontScaleWidget({required double currentScale, required ValueChanged<double> onChanged})
getSampleTextStyle(double scale)
getScaleLabel(double scale)
resetToDefault()