pageRowsInfoTitle method

  1. @override
String pageRowsInfoTitle(
  1. int firstRow,
  2. int lastRow,
  3. int rowCount,
  4. bool rowCountIsApproximate
)
override

Title for the PaginatedDataTable's row info footer.

Implementation

@override
String pageRowsInfoTitle(int firstRow, int lastRow, int rowCount, bool rowCountIsApproximate) {
  return rowCountIsApproximate
    ? '$firstRow–$lastRow of about $rowCount'
    : '$firstRow–$lastRow of $rowCount';
}