Flutter's TableView (two_dimensional_scrollables): a table that
scrolls on both axes, with a header row and column that stay pinned.
Rows are the bound data (or rowCount); columns are columns (or
bound props.columns). Its slots are templates built per cell with
${item}: cell ({value, row, column, rowIndex, columnIndex}),
columnHeader ({label, column, columnIndex}), rowHeader ({row, rowIndex}) and corner.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited
Constants
-
cacheExtent
→ const PropDef<
double?> - cell → const String
-
clipBehavior
→ const PropDef<
Clip> - columnHeader → const String
-
columns
→ const PropDef<
List< TableColumn> > -
columnWidth
→ const PropDef<
double> - A column's width unless it sets its own.
- corner → const String
-
fillWidth
→ const PropDef<
bool> - Body columns grow to share the width the table has beyond all its columns' widths (equally), so a week fills a wide screen and still scrolls on a narrow one; no column is ever narrower than its width.
-
gridLineColor
→ const PropDef<
Color> - The lines between cells; transparent for none.
-
gridLineWidth
→ const PropDef<
double> -
headerBorderColor
→ const PropDef<
Color?> - A line under the header row only.
-
headerBorderWidth
→ const PropDef<
double> -
headerColor
→ const PropDef<
Color?> - The header row's and column's background.
-
headerHeight
→ const PropDef<
double> -
horizontalPadding
→ const PropDef<
double> - Space before the first column and after the last.
-
pinHeaderColumn
→ const PropDef<
bool> -
pinHeaderRow
→ const PropDef<
bool> -
rowCount
→ const PropDef<
int?> - The rows when no data is bound.
- rowHeader → const String
-
rowHeaderWidth
→ const PropDef<
double> -
rowHeight
→ const PropDef<
double> -
rowHeightKey
→ const PropDef<
String> - The field of a row (a map) that holds its own height, for rows that aren't all as tall (a summary row that grows with its content); rows without a number there are rowHeight tall. Empty: every row is.
-
rowHoverColor
→ const PropDef<
Color?> - A body row's background while the pointer is over it.
-
selectedRow
→ const PropDef<
int> - The selected body row (bind it), -1 for none: drawn in selectedRowColor with a selectedRowEdgeWidth edge at its start in selectedRowEdgeColor.
-
selectedRowColor
→ const PropDef<
Color?> -
selectedRowEdgeColor
→ const PropDef<
Color?> -
selectedRowEdgeWidth
→ const PropDef<
double> - spec → const WidgetSpec
-
stretchLastColumn
→ const PropDef<
bool> - The last column takes the width the columns leave over, so the ruled rows run to the table's edge.
-
stripeColor
→ const PropDef<
Color?> - Every other body row's background.