lineHeight method

double lineHeight(
  1. double fontSize
)

Implementation

double lineHeight(double fontSize) => (-ascent + descent) * fontSize;