scale property

double get scale

The number of font pixels for each logical pixel. For example, if the text scale factor is 1.5, text will be 50% larger than the specified font size. See also: MediaQuery.textScaleFactorOf, a method to find and depend on the textScaleFactor defined for a BuildContext

Implementation

double get scale => _mediaQueryData.textScaleFactor;