CellAnchor class

A handle to a cell in a BufferLine that can be used to track the location of the cell. Anchors are guaranteed to be stable, retaining their relative position to each other after mutations to the buffer.

Constructors

CellAnchor(int offset, {BufferLine? owner})

Properties

attached bool
no setter
hashCode int
The hash code for this object.
no setterinherited
line BufferLine?
no setter
offset CellOffset
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x int
no setter
y int
no setter

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reparent(BufferLine owner, int offset) → void
reposition(int offset) → void
toString() String
A string representation of this object.
override

Operators

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