applyTextScaling property

bool? applyTextScaling
final

Whether to scale the size of this widget using the ambient MediaQuery's TextScaler.

This is specially useful when you have an icon associated with a text, as scaling the text without scaling the icon would result in a confusing interface.

Defaults to the nearest IconTheme's IconThemeData.applyTextScaling.

Implementation

final bool? applyTextScaling;