Set the total number of rows.
Future<void> setRowCount(int n) async { await _configure(GridConfig()..layout = (LayoutConfig()..rows = n)); }