S360fTableHeader class

Configuration model for table column headers in S360fTable.

Defines the properties and behavior of individual table column headers, including display text, sorting capabilities, and interaction callbacks.

Example usage:

S360fTableHeader(
  title: 'Name',
  isSortable: true,
  sortOrder: SortOrder.ascending,
  onSort: () => _handleNameSort(),
)

Constructors

S360fTableHeader({required String title, bool isSortable = false, SortOrder sortOrder = SortOrder.none, VoidCallback? onSort})
Creates a new table header configuration.

Properties

hashCode int
The hash code for this object.
no setterinherited
isSortable bool
Whether this column supports sorting functionality
final
onSort VoidCallback?
Callback function invoked when the header is tapped to trigger sorting. Only called if isSortable is true.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortOrder SortOrder
The current sort order state for this column
final
title String
The display text shown in the column header
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited