TableFooter constructor

const TableFooter({
  1. required int currentPage,
  2. required int pageSize,
  3. int? totalCount,
  4. ValueChanged<int>? onPageChanged,
  5. ValueChanged<int>? onPageSizeChanged,
  6. bool showTotalCount = true,
  7. Color? backgroundColor,
  8. Key? key,
})

Implementation

const TableFooter({
  required this.currentPage,
  required this.pageSize,
  this.totalCount,
  this.onPageChanged,
  this.onPageSizeChanged,
  this.showTotalCount = true,
  this.backgroundColor,
  super.key,
}) : assert(
       showTotalCount == false || totalCount != null,
       'totalCount must be provided when showTotalCount is true',
     );