value property

Object? get value

Represent the DateTime of the Range

Implementation

Object? get value {
  return _value;
}
set value (Object? value)

sets the value of the Range.

Workbook workbook = new Workbook();
Worksheet sheet = workbook.worksheets[0];
Range range = sheet.getRangeByName('A1');
range.value = 44;
List<int> bytes = workbook.saveAsStream();
File('Value.xlsx').writeAsBytes(bytes);
workbook.dispose();

Implementation

set value(Object? value) {
  setValue(value);
}