textScaler property

TextScaler textScaler

The font scaling strategy to use when laying out and rendering the text.

The value usually comes from MediaQuery.textScalerOf, which typically reflects the user-specified text scaling value in the platform's accessibility settings. The TextStyle.fontSize of the text will be adjusted by the TextScaler before the text is laid out and rendered.


final TextScaler textScaler;