HeaderCell constructor

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

Implementation

const HeaderCell({
  super.key,
  required this.title,
  this.parentTitle,
  required this.width,
  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,
});