textScaleFactor property

double get textScaleFactor

Approximate linear text scale factor evaluated at font size 1.0.

Retained as a double for backward-compatibility with scalar math. For modern Flutter text layout, prefer using textScaler.

Implementation

double get textScaleFactor => textScaler.scale(1.0);