MyTableView constructor
const
MyTableView({
- Key? key,
- required dynamic onNext(
- int page
- required dynamic onPrevious(
- int page
- MyMetaModel? metaModel,
- dynamic onView(
- dynamic model
- String? title,
- String? tooltipOnView,
- String? tooltipOnTapActions,
- List<
PopupMenuItem> actions = const [], - Widget? header,
- List selectedItems = const [],
- dynamic onSelectedItem(
- dynamic model
- dynamic onSelectAll(
- bool? value
- Widget? actionOnselectedMany,
- List? items,
- MyLinkModel? linkModel,
- List<
String> ? colunms = const [], - List<
List> ? rows = const [], - AlignmentGeometry paginateAlignment = Alignment.bottomLeft,
- dynamic onMenuSelected(
- dynamic model
Implementation
const MyTableView({
super.key,
required this.onNext,
required this.onPrevious,
this.metaModel,
this.onView,
this.title,
this.tooltipOnView,
this.tooltipOnTapActions,
this.actions = const [],
this.header,
this.selectedItems = const [],
this.onSelectedItem,
this.onSelectAll,
this.actionOnselectedMany,
this.items,
this.linkModel,
this.colunms = const [],
this.rows = const [],
this.paginateAlignment = Alignment.bottomLeft,
this.onMenuSelected,
});