CustomDataTable constructor Null safety
- {required List<
DataTableColumn> columns, - required List<
DataTableRow> rows, - required RefreshController refreshController,
- required VoidCallback onRefresh,
- required VoidCallback onLoading,
- int? sortColumnIdx,
- bool sortIsAscending = true,
- bool showCheckboxColumn = false}
Implementation
CustomDataTable({
required this.columns,
required this.rows,
required this.refreshController,
required this.onRefresh,
required this.onLoading,
this.sortColumnIdx,
this.sortIsAscending = true,
this.showCheckboxColumn = false,
});