SheetCell class

One cell: its value, formatting and any data bar.

Constructors

SheetCell(CellValue? value, {CellStyle style = CellStyle.plain, bool date1904 = false, DataBar? dataBar})
Creates a cell holding value (null for a formatting-only cell).
const

Properties

dataBar → DataBar?
A conditional-formatting data bar drawn behind the value, or null.
final
date1904 → bool
Copied from the Workbook, so text can place date serials.
final
formulaText → String?
The formula as Excel's formula bar shows it (=SUM(A1:A3), an array formula in braces); null when the cell has none.
no setter
hashCode → int
The hash code for this object.
no setterinherited
number → num?
The cell's number, for a selection's Sum/Average: a number cell, or a formula whose saved result is one. Text that looks numeric isn't counted, as in Excel's status bar.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → CellStyle
The cell's format, with what conditional formatting applies to it already folded in.
final
text → String
What a reader shows: numbers and dates formatted with the cell's number format, and for a formula its saved result. A formula saved without a result (some generators skip it) shows the formula, marked with =.
no setter
value → CellValue?
Null for a cell that only carries formatting (e.g. a fill colour).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited