lineHeight property

num get lineHeight

This read-only property returns the height of a line of text in this TextBlock, not including any #spacingAbove or #spacingBelow.

This value may be meaningless before the TextBlock is measured.

Implementation

_i2.num get lineHeight => _i4.getProperty(
      this,
      'lineHeight',
    );
set lineHeight (num value)

Implementation

set lineHeight(_i2.num value) {
  _i4.setProperty(
    this,
    'lineHeight',
    value,
  );
}