textScaleFactor property Null safety

double textScaleFactor

The system-reported text scale.

This establishes the text scaling factor to use when rendering text, according to the user's platform preferences.

The onTextScaleFactorChanged callback is called whenever this value changes.

See also:

Implementation

double get textScaleFactor => configuration.textScaleFactor;