textScaleFactor property Null safety

double textScaleFactor
override

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

@override
double get textScaleFactor => _textScaleFactorTestValue ?? _platformDispatcher.textScaleFactor;