setCellText method

Future<void> setCellText(
  1. int row,
  2. int col,
  3. String text
)

Set the text of a cell at the given row and col.

Implementation

Future<void> setCellText(int row, int col, String text) async {
  await VolvoxGridService.UpdateCells(UpdateCellsRequest()
    ..gridId = _gridId
    ..cells.add(CellUpdate()
      ..row = row
      ..col = col
      ..value = (CellValue()..text = text)));
  notifyListeners();
}