CellData class

One cell in xterm's packed format: colours as CellColor values, flags as CellAttr bits, and content as the code point plus the width shifted by CellContent.widthShift.

Constructors

CellData({required int foreground, required int background, required int flags, required int content})
Creates a cell from its packed values.
CellData.empty()
An empty cell: default colours, no attributes, no content.
factory

Properties

background ↔ int
The background colour, a CellColor value.
getter/setter pair
content ↔ int
The code point, with the cell width at CellContent.widthShift.
getter/setter pair
flags ↔ int
The CellAttr bits.
getter/setter pair
foreground ↔ int
The foreground colour, a CellColor value.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getHash() → int
A hash of the four values, the same one xterm computes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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