number property

double? get number

Represent the Number of the Range

Implementation

double? get number {
  if (isSingleRange) {
    return _number;
  } else {
    return getNumber();
  }
}
set number (double? value)

Sets the Number of the Range.

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

Implementation

set number(double? value) {
  setNumber(value);
}