TableMetadata class
A table.
- Annotations
- @immutable
Constructors
-
TableMetadata({BorderSide border}
) - Creates a table.
Properties
- border → BorderSide
-
The table border.
final
- cols → int
-
The number of columns.
read-only
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- length → int
-
The number of cells.
read-only
- rows → int
-
The number of rows.
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
addCell(
int row, Widget child, {int colspan: 1, int rowspan: 1} ) → int -
Adds cell at the specified
row
takingcolspan
androwspan
into account. [...] -
getIndexAt(
{int column, int row} ) → int -
Gets the cell index by
column
androw
. -
getWidgetAt(
int index ) → Widget -
Gets the cell widget by
index
. -
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
visitCells(
void callback(int col, int row, Widget widget, int colspan, int rowspan ) ) → void -
Applies the function
callback
to each cell.
Operators
-
operator ==(
Object other ) → bool -
The equality operator. [...]
inherited