textScaleFactor property

double textScaleFactor

textScaleFactor is calculated using the following formula: textScaleFactor = MediaQuery.textScalerOf(this).scale(fontSize) / fontSize

Implementation

double get textScaleFactor => MediaQuery.textScalerOf(this).scale(1.0) / 1.0;