int rowCount

The number of rows in this grid.

Source

int get rowCount => rowOffsets.length - 1;