textScaleFactor property

  1. @Deprecated('Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. ' 'This feature was deprecated after v3.12.0-2.0.pre.')
double textScaleFactor

The estimated number of font pixels for each logical pixel. This property exists only for backward compatibility purposes, and will be removed in a future version of Flutter.

The value of this property is only an estimate, so it may not reflect the exact text scaling strategy this TextScaler represents, especially when this TextScaler is not linear. Consider using TextScaler.scale instead.

Implementation

@Deprecated(
  'Use of textScaleFactor was deprecated in preparation for the upcoming nonlinear text scaling support. '
  'This feature was deprecated after v3.12.0-2.0.pre.',
)
double get textScaleFactor;