Default Line Height Multiplier
The factor to use when creating a TextStyle with a changed font size:
myTextStyle.copy(
fontSize = newFontSize,
lineHeight = newFontSize * Typography.DefaultLineHeightMultiplier,
)Content copied to clipboard
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.