lineCount property

int? get lineCount

How many lines the whole paragraph breaks into in the room this box was laid out in; null where there is no paragraph here to count.

Implementation

int? get lineCount {
  final room = _room;
  if (_paragraph() == null || room == null) return null;
  return _linesIn(room);
}