getTextScaleFactor method

double getTextScaleFactor()

Returns the textScaleFactor of the matched SelectableText via Widget.toDiagnosticsNode

Implementation

double getTextScaleFactor() {
  return getDiagnosticProp<double>('textScaleFactor');
}