Cell class final
A single cell in a terminal Buffer.
A cell contains a character (or string for multi-byte characters), a UvStyle, an optional Link, and its display width. It can also hold a drawable for rendering images or complex graphics.
Upstream: third_party/ultraviolet/cell.go (Cell, EmptyCell).
A single cell in a terminal Buffer.
Constructors
Properties
- content ↔ String
-
getter/setter pair
- drawable ↔ Object?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- isEmpty → bool
-
Whether this cell represents a plain space with no attributes.
no setter
- isZero → bool
-
Whether this cell has no content, style, link, or drawable.
no setter
- link ↔ Link
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style ↔ UvStyle
-
getter/setter pair
- width ↔ int
-
getter/setter pair
Methods
-
clone(
) → Cell - Returns a copy of this cell.
-
empty(
) → void - Sets this cell to a space with width 1.
-
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.
override