setSpanRow method

Future<void> setSpanRow(
  1. int row,
  2. bool span
)

Enable or disable spanning for a specific row.

Implementation

Future<void> setSpanRow(int row, bool span) async {
  await VolvoxGridService.DefineRows(DefineRowsRequest()
    ..gridId = _gridId
    ..rows.add(RowDef()
      ..index = row
      ..span = span));
  notifyListeners();
}