CellState class

Represents the state of a single cell in the terminal buffer.

Stores the character, foreground and background colors, and font styles.

Constructors

CellState.new()

Properties

backgroundColor AnsiColorType?
The background color of this cell.
getter/setter pair
character String
The character displayed in this cell.
getter/setter pair
fontStyles Set<FontStyle>
The set of font styles applied to this cell.
getter/setter pair
foregroundColor AnsiColorType?
The foreground color of this cell.
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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets this cell to default empty state.
toString() String
A string representation of this object.
override

Operators

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