DefaultLineHeightMultiplier

The factor to use when creating a TextStyle with a changed font size:

myTextStyle.copy(
fontSize = newFontSize,
lineHeight = newFontSize * Typography.DefaultLineHeightMultiplier,
)

You should use TextStyle.copyWithSize to create copies of a TextStyle with a changed font size, as that function will automatically apply the correct line height, too.

See also