TableVicinity class

The relative position of a child in a TableViewport in relation to other children of the viewport, in terms of rows and columns.

This subclass translates the abstract ChildVicinity.xIndex and ChildVicinity.yIndex into terms of rows and columns for ease of use within the context of a TableView.

Inheritance
Annotations

Constructors

TableVicinity({required int row, required int column})
Creates a reference to a child in a TableView, with the xIndex and yIndex converted to terms of row and column.
const

Properties

column int
The column index of the child in the TableView.
no setter
hashCode int
The hash code for this object.
no setterinherited
row int
The row index of the child in the TableView.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xIndex int
The index of the child in the horizontal axis, relative to neighboring children.
finalinherited
yIndex int
The index of the child in the vertical axis, relative to neighboring children.
finalinherited

Methods

compareTo(ChildVicinity other) int
Compares this object to another object.
inherited
copyWith({int? row, int? column}) TableVicinity
Returns a new TableVicinity, copying over the row and column fields with those provided, or maintaining the original values.
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.
inherited

Constants

zero → const TableVicinity
The origin vicinity of the TableView, (0,0).