S360fTableHeader constructor

S360fTableHeader({
  1. required String title,
  2. bool isSortable = false,
  3. SortOrder sortOrder = SortOrder.none,
  4. VoidCallback? onSort,
})

Creates a new table header configuration.

title is required and represents the display text for the column header. isSortable determines if the column can be sorted (defaults to false). sortOrder indicates the current sort state (defaults to none). onSort is an optional callback triggered when the header is tapped for sorting.

Implementation

S360fTableHeader({
  required this.title,
  this.isSortable = false,
  this.sortOrder = SortOrder.none,
  this.onSort,
});