onFontScaleChanged property
A callback that is called when the font scale is changed.
This field holds a function that will be called when the font scale is changed. The function takes a single parameter of type double, which represents the new font scale.
Implementation
final ValueChanged<double>? onFontScaleChanged;