textScaler property

  1. @override
TextScaler? get textScaler
override

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.

Implementation

@override
get textScaler => ($value as dynamic).textScaler;