TPaginatedDataTable constructor

const TPaginatedDataTable({
  1. Key? key,
  2. required List<DataColumn> columns,
  3. required DataTableSource source,
  4. int rowsPerPage = 10,
  5. double tableHeight = 760,
  6. dynamic onPageChanged(
    1. int
    )?,
  7. int? sortColumnIndex,
  8. double? dataRowHeight,
  9. bool sortAscending = true,
  10. double? minWidth = 1000,
  11. Widget? header,
  12. List<Widget> actions = const [],
  13. Widget? emptyWidget,
})

Implementation

const TPaginatedDataTable({
  super.key,
  required this.columns,
  required this.source,
  this.rowsPerPage = 10,
  this.tableHeight = 760,
  this.onPageChanged,
  this.sortColumnIndex,
  this.dataRowHeight,
  this.sortAscending = true,
  this.minWidth = 1000,
  this.header,
  this.actions = const [],
  this.emptyWidget,
});