buildColumn method

  1. @override
TableSpan? buildColumn(
  1. int index
)
override

Builds the TableSpan that describes the column at the provided index.

The builder must return a valid TableSpan for all indices smaller than columnCount. If columnCount is null, the number of columns will be infinite, unless this builder returns null to signal the end of the columns.

Implementation

@override
TableSpan? buildColumn(int index) {
  if (index >= columnCount) {
    // The list delegate has a finite number of columns.
    return null;
  }
  return _columnBuilder(index);
}