updateCell method
Updates the contents of sheet of the cellIndex: CellIndex.indexByColumnRow(0, 0); where indexing starts from 0
----or---- by cellIndex: CellIndex.indexByString("A3");.
Styling of cell can be done by passing the CellStyle object to cellStyle.
If sheet does not exist then it will be automatically created.
Implementation
void updateCell(String sheet, CellIndex cellIndex, dynamic value,
{CellStyle? cellStyle}) {
_availSheet(sheet);
if (cellStyle != null) {
_colorChanges = true;
_sheetMap[sheet]!.updateCell(cellIndex, value, cellStyle: cellStyle);
} else {
_sheetMap[sheet]!.updateCell(cellIndex, value);
}
}