lineCount property

num lineCount

This read-only property returns the computed number of lines in this TextBlock, including lines created from embedded newlines (\n), #wrapping, and #maxLines.

This value may be meaningless before the TextBlock is measured.

Implementation

_i2.num get lineCount => _i4.getProperty(
      this,
      'lineCount',
    );
void lineCount=(num value)

Implementation

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