AppTable<M extends Object> constructor
const
AppTable<M extends Object> ({
- required TableController<
M> controller, - required List<
TableColumn< columns,M> > - TableActionFn<
M> ? actions, - List<
Widget> filters = const [], - void onRowTap(
- M
- void onRowDoubleTap(
- M
- AppButtonConfig? headerAction,
- WidgetBuilder? emptyStateBuilder,
- WidgetBuilder? aboveTableBuilder,
- bool canMultiSelect = false,
- int pageSize = 10,
- bool showPagination = true,
- String? headerTitle,
- bool renderEmptyRows = true,
- 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,
});