getTextLineHeight method

int getTextLineHeight(
  1. PrinterTextStyle style
)

Implementation

int getTextLineHeight(PrinterTextStyle style) {
  return (this.getFontHeight(style) * style.lineHeight!).toInt();
}