lineCount property

int get lineCount

Implementation

int get lineCount {
  if (_lineCount == null) {
    int residue = (days.length + firstDayWeekDayIndex) % 7;
    _lineCount =
        (days.length + firstDayWeekDayIndex) ~/ 7 + (residue != 0 ? 1 : 0);
  }
  return _lineCount!;
}