applyHeightToFirstAscent property

bool applyHeightToFirstAscent
final

Whether to apply the TextStyle.height modifier to the ascent of the first line in the paragraph.

When true, the TextStyle.height modifier will be applied to the ascent of the first line. When false, the font's default ascent will be used and the TextStyle.height will have no effect on the ascent of the first line.

This property only has effect if a non-null TextStyle.height is specified.

Defaults to true (height modifications applied as normal).

Implementation

final bool applyHeightToFirstAscent;