TableSpanBuilder typedef

TableSpanBuilder = TableSpan? Function(int index)

Signature for a function that creates a TableSpan for a given index of row or column in a TableView.

Used by the TableCellDelegateMixin.buildColumn and TableCellDelegateMixin.buildRow to configure rows and columns in the TableView.

Returning null from this builder signifies the end of rows or columns being built if a row or column count has not been specified for the table.

Implementation

typedef TableSpanBuilder = TableSpan? Function(int index);