parser/line_height_parser library
Constants
- normalLineHeightMultiplier → const double
- constant common line-height multiplier
Functions
-
parseLineHeight(
String lineHeight, {double fontSize = 16, double rootFontSize = 16}) → double -
Parses a CSS
line-height
value to a pixel value based on the specifiedfontSize
and optionalrootFontSize
.