spacingAbove property

num get spacingAbove

Gets or sets additional spacing above each line of text. The default is zero. The value may be negative.

This can be useful when you need to adjust the font spacing on custom fonts or monospace fonts to suit your needs.

Implementation

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

Implementation

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