buildRow method

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

Builds the TableSpan that describe the row at the provided index.

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

Implementation

@override
TableSpan? buildRow(int index) {
  if (index >= rowCount) {
    // The list delegate has a finite number of rows.
    return null;
  }
  return _rowBuilder(index);
}