TodayTable constructor

const TodayTable({
  1. Key? key,
  2. bool selectable = false,
  3. required List<TodayTableColumn> columns,
  4. required List<TodayTableRow> rows,
  5. List<TodayTableColumn>? fixedColumnsLeft,
  6. List<TodayTableRow>? fixedRowsLeft,
  7. List<TodayTableColumn>? fixedColumnsRight,
  8. List<TodayTableRow>? fixedRowsRight,
  9. bool allSelected = false,
  10. TodayCheckboxValue selectableValue = TodayCheckboxValue.unchecked,
  11. dynamic onChanged(
    1. TodayCheckboxValue
    )?,
  12. dynamic onSearch(
    1. String? value
    )?,
  13. String? headerPlaceholder,
  14. TodayFilter? headerPrimaryFilter,
  15. Widget? headerPrimaryWidget,
  16. TodayButton? headerSecondaryButton,
  17. Widget? headerSecondaryWidget,
  18. Widget? headerSearchWidget,
  19. bool hideHeader = false,
  20. String? footerText,
  21. double? footerSubTextWidth,
  22. String? footerSubTextTitle,
  23. String? footerSubTextContent,
  24. bool leftArrowEnabled = false,
  25. bool rightArrowEnabled = false,
  26. Function? leftArrowClick,
  27. Function? rightArrowClick,
  28. bool hideFooter = false,
  29. bool largeCells = false,
  30. TodayTableFooter footer = TodayTableFooter.paged,
  31. String? emptyTitle,
  32. String? emptyDescription,
  33. Widget? emptyWidget,
  34. bool hoverEffects = false,
  35. bool loading = false,
  36. int? perPage,
  37. int currentPage = 1,
})

Implementation

const TodayTable({
  super.key,
  this.selectable = false,
  required this.columns,
  required this.rows,
  this.fixedColumnsLeft,
  this.fixedRowsLeft,
  this.fixedColumnsRight,
  this.fixedRowsRight,
  this.allSelected = false,
  this.selectableValue = TodayCheckboxValue.unchecked,
  this.onChanged,
  this.onSearch,
  this.headerPlaceholder,
  this.headerPrimaryFilter,
  this.headerPrimaryWidget,
  this.headerSecondaryButton,
  this.headerSecondaryWidget,
  this.headerSearchWidget,
  this.hideHeader = false,
  this.footerText,
  this.footerSubTextWidth,
  this.footerSubTextTitle,
  this.footerSubTextContent,
  this.leftArrowEnabled = false,
  this.rightArrowEnabled = false,
  this.leftArrowClick,
  this.rightArrowClick,
  this.hideFooter = false,
  this.largeCells = false,
  this.footer = TodayTableFooter.paged,
  this.emptyTitle,
  this.emptyDescription,
  this.emptyWidget,
  this.hoverEffects = false,
  this.loading = false,
  this.perPage,
  this.currentPage = 1,
});