CellOffset class

A cell position in a buffer: column x and buffer row y, where row 0 is the oldest scrollback row (not the top of the screen).

Constructors

CellOffset(int x, int y)
Creates the position of column x, buffer row y.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
x → int
The column.
final
y → int
The buffer row, counted from the oldest scrollback row.
final

Methods

isAfter(CellOffset other) → bool
Whether this position comes after other in reading order.
isAfterOrSame(CellOffset other) → bool
Whether this position comes after other or is the same.
isAtSameColumn(CellOffset other) → bool
Whether this position is in the same column as other.
isAtSameRow(CellOffset other) → bool
Whether this position is on the same row as other.
isBefore(CellOffset other) → bool
Whether this position comes before other in reading order.
isBeforeOrSame(CellOffset other) → bool
Whether this position comes before other or is the same.
isEqual(CellOffset other) → bool
Whether other is the same position.
isWithin(BufferRange range) → bool
Whether range contains this position.
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.
override