XlsxTestSheet class

A sheet for buildXlsx: cells by address ('B3'), and whether the author hid it ('hidden' / 'veryHidden').

Constructors

XlsxTestSheet(String name, Map<String, Object> cells, {String? state, int frozenRows = 0, int frozenColumns = 0, Map<String, ({String author, String text})> comments = const {}, String afterSheetData = ''})
Creates a test sheet named name holding cells.
const

Properties

afterSheetData → String
Raw XML after <sheetData>, e.g. <conditionalFormatting>.
final
cells → Map<String, Object>
String (a shared string), num, bool, XlsxTestFormula, XlsxTestCell (a value with formatting) or XlsxTestXml.
final
comments → Map<String, ({String author, String text})>
Notes by cell ('B2'), each with an author.
final
frozenColumns → int
Columns to freeze (the frozen <pane>'s xSplit).
final
frozenRows → int
Rows to freeze (the frozen <pane>'s ySplit); 0 for no pane.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
The sheet's tab name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
The <sheet state>: 'hidden', 'veryHidden', or null for visible.
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