lineHeight property

int get lineHeight

Gets the height of each line of text in pixels.

Implementation

int get lineHeight => _lineHeight;
set lineHeight (int value)

Sets the height of each line of text in pixels.

Implementation

set lineHeight(int value) {
  if (value < 1) {
    throw ArgumentError("lineHeight must be a positive integer");
  }
  _lineHeight = value;
}