AppTableView<M extends Object> constructor
const
AppTableView<M extends Object> ({
- required AppTableViewController<
M> controller, - required List<
TableColumn< columns,M> > - AppTableViewConfig<
M> config = const AppTableViewConfig(), - ScrollController? horizontalScrollController,
- WidgetBuilder? aboveTableBuilder,
- Widget filtersBuilder(
- BuildContext context,
- List<
Widget> filters
- WidgetBuilder? headerBuilder,
- Widget actionsWrapperBuilder(
- BuildContext context,
- Widget child
- bool showCheckboxColumn = true,
- Color? selectedRowColor,
- ValueChanged<
int> ? onPageChanged, - ValueChanged<
int> ? onLimitChanged, - int pageSize = 10,
- bool shrinkWrap = false,
- Key? key,
Implementation
const AppTableView({
required this.controller,
required this.columns,
this.config = const AppTableViewConfig(),
this.horizontalScrollController,
this.aboveTableBuilder,
this.filtersBuilder,
this.headerBuilder,
this.actionsWrapperBuilder,
this.showCheckboxColumn = true,
this.selectedRowColor,
this.onPageChanged,
this.onLimitChanged,
this.pageSize = 10,
this.shrinkWrap = false,
super.key,
});