lineHeightScaleFactorOverride property

double? get lineHeightScaleFactorOverride

The system-suggested height of the text, as a multiple of the font size.

This value takes precedence over any text height specified at the application level. For example, at framework level, in the TextStyle for Text, SelectableText, and EditableText widgets, this value overrides the existing value of TextStyle.height and StrutStyle.height.

Returns null when no override has been set by the system.

If this value changes, onMetricsChanged will be called.

Implementation

double? get lineHeightScaleFactorOverride => _configuration.lineHeightScaleFactorOverride;