Back to API Reference
Enum
LineHeightMode
How a line's height is determined relative to the fonts it contains.
public static readonly LineHeightMode Content = 0Line grows to fit the tallest font on it, including fallback fonts (CSS line-height: normal).
public static readonly LineHeightMode Primary = 1Height comes from the primary font only; fallback glyphs never enlarge the line (Android fallbackLineSpacing=false).
public static readonly LineHeightMode Scaled = 2Every line is exactly scale × fontSize regardless of content; tall glyphs may overlap (CSS fixed line-height, Flutter forceStrutHeight).
