textScaler property

TextScaler get textScaler

The active text scaler. Reads live from MediaQuery so widgets rebuild when the user changes their text-size setting.

Implementation

TextScaler get textScaler =>
    MediaQuery.maybeTextScalerOf(this) ?? TextScaler.noScaling;