HeaderCell constructor

const HeaderCell({
  1. Key? key,
  2. required String title,
  3. String? parentTitle,
  4. required double width,
  5. double? height,
  6. bool isSortable = false,
  7. bool isResizable = false,
  8. bool hasFilter = false,
  9. String? filterPlaceholder,
  10. String? filterValue,
  11. TextEditingController? filterController,
  12. SortIndicator? sortIndicator,
  13. VoidCallback? onTap,
  14. void onResize(
    1. double delta
    )?,
  15. void onFilterChanged(
    1. String value
    )?,
  16. required Color backgroundColor,
  17. required Color textColor,
  18. required Color borderColor,
  19. bool showFilterRow = false,
  20. bool hasColumnGroups = false,
  21. bool headerWordWrap = true,
})

Implementation

const HeaderCell({
  super.key,
  required this.title,
  this.parentTitle,
  required this.width,
  this.height,
  this.isSortable = false,
  this.isResizable = false,
  this.hasFilter = false,
  this.filterPlaceholder,
  this.filterValue,
  this.filterController,
  this.sortIndicator,
  this.onTap,
  this.onResize,
  this.onFilterChanged,
  required this.backgroundColor,
  required this.textColor,
  required this.borderColor,
  this.showFilterRow = false,
  this.hasColumnGroups = false,
  this.headerWordWrap = true,
});