HeaderCell constructor
const
HeaderCell({
- Key? key,
- required String title,
- String? parentTitle,
- required double width,
- bool isSortable = false,
- bool isResizable = false,
- bool hasFilter = false,
- String? filterPlaceholder,
- String? filterValue,
- TextEditingController? filterController,
- SortIndicator? sortIndicator,
- VoidCallback? onTap,
- void onResize(
- double delta
- void onFilterChanged(
- String value
- required Color backgroundColor,
- required Color textColor,
- required Color borderColor,
- bool showFilterRow = false,
- 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,
});