AppTable<M extends Object> constructor

const AppTable<M extends Object>({
  1. required TableController<M> controller,
  2. required List<TableColumn<M>> columns,
  3. TableActionFn<M>? actions,
  4. List<Widget> filters = const [],
  5. void onRowTap(
    1. M
    )?,
  6. void onRowDoubleTap(
    1. M
    )?,
  7. AppButtonConfig? headerAction,
  8. WidgetBuilder? emptyStateBuilder,
  9. WidgetBuilder? aboveTableBuilder,
  10. bool canMultiSelect = false,
  11. int pageSize = 10,
  12. bool showPagination = true,
  13. String? headerTitle,
  14. bool renderEmptyRows = true,
  15. Key? key,
})

Implementation

const AppTable({
  required this.controller,
  required this.columns,
  this.actions,
  this.filters = const [],
  this.onRowTap,
  this.onRowDoubleTap,
  this.headerAction,
  this.emptyStateBuilder,
  this.aboveTableBuilder,
  this.canMultiSelect = false,
  this.pageSize = 10,
  this.showPagination = true,
  this.headerTitle,
  this.renderEmptyRows = true,
  super.key,
});