rows property

int get rows

The number of rows in the grid.

Implementation

int get rows => _matrix.isEmpty ? 0 : _matrix.length ~/ cols;