TableFooter constructor
const
TableFooter({
- required int currentPage,
- required int pageSize,
- int? totalCount,
- ValueChanged<
int> ? onPageChanged, - ValueChanged<
int> ? onPageSizeChanged, - bool showTotalCount = true,
- Color? backgroundColor,
- 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',
);