TerminalNativeCell class

One captured native cell.

Constructors

TerminalNativeCell({required String content, required int width, required TerminalNativeStyle style, required TerminalNativeLink link, required bool isZero, required bool isEmpty, required bool hasDrawable, required List<int> packed, CellDiffOption diffOption = CellDiffOption.normal})
Creates a native cell snapshot.
const
TerminalNativeCell.fromCell(Cell cell)
Builds a snapshot from a UV cell.
factory

Properties

content → String
Grapheme content stored in the cell.
final
diffOption → CellDiffOption
Diff policy retained from the captured UV cell.
final
hasDrawable → bool
Whether this cell carries a drawable payload.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether this cell is a plain empty space.
final
isZero → bool
Whether this cell is a zero-width placeholder.
final
Hyperlink snapshot for this cell.
final
packed → List<int>
Stable packed UV cell tuple for low-level inspection.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → TerminalNativeStyle
Style snapshot for this cell.
final
width → int
Display width in terminal cells.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCell() → Cell
Rebuilds this metadata as a UV cell.
toString() → String
A string representation of this object.
inherited

Operators

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