value property
CellValue?
get
value
returns the value stored in this cell;
It will return null if no value is stored in this cell.
Implementation
CellValue? get value => _value;
set
value
(CellValue? val)
Sets the cell's value and updates the sheet.
Implementation
set value(CellValue? val) {
// With no merged spans the full updateCell pass adds nothing over
// _putData for an already-materialized cell: no remap can apply, the
// indices were validated when this Data was created, and _putData
// installs an accepting default format itself.
if (_sheet._spanList.isEmpty) {
_sheet._putData(_rowIndex, _columnIndex, val);
} else {
_sheet.updateCell(cellIndex, val);
}
}