MyTableView constructor

const MyTableView({
  1. Key? key,
  2. required dynamic onNext(
    1. int page
    ),
  3. required dynamic onPrevious(
    1. int page
    ),
  4. MyMetaModel? metaModel,
  5. dynamic onView(
    1. dynamic model
    )?,
  6. String? title,
  7. String? tooltipOnView,
  8. String? tooltipOnTapActions,
  9. List<PopupMenuItem> actions = const [],
  10. Widget? header,
  11. List selectedItems = const [],
  12. dynamic onSelectedItem(
    1. dynamic model
    )?,
  13. dynamic onSelectAll(
    1. bool? value
    )?,
  14. Widget? actionOnselectedMany,
  15. List? items,
  16. MyLinkModel? linkModel,
  17. List<String>? colunms = const [],
  18. List<List>? rows = const [],
  19. AlignmentGeometry paginateAlignment = Alignment.bottomLeft,
  20. dynamic onMenuSelected(
    1. 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,
});