textScaler property

TextScaler? textScaler
final

Specifies the text scaling behavior for the Tab label.

If this is null, then the value of TabBarTheme.textScaler is used. If that is also null, then the text scaling behavior is determined by the MediaQueryData.textScaler from the ambient MediaQuery, or 1.0 if there is no MediaQuery in scope.

See also:

  • TextScaler, which is used to scale text based on the device's text scale factor.

Implementation

final TextScaler? textScaler;