lineHeight property

double lineHeight

Implementation

double get lineHeight {
  CSSLengthValue lineHeight = renderStyle.parent!.lineHeight;
  if (lineHeight.type != CSSLengthType.NORMAL) {
    return lineHeight.computedValue;
  } else {
    return textPainter.size.height;
  }
}