pageCount property

int get pageCount

Implementation

int get pageCount => ((maxDate.year - minDate.year + 1) / yearsPerPage).ceil();