TableAdvancedColumnHeader class
Configuration for columnn of TableAdvanced.
Constructors
- TableAdvancedColumnHeader({required Widget child, int flex = 1, VoidCallback? onTap, void onSortTapped(bool sortedAsc)?})
- Configuration for column headers of TableAdvanced.
Properties
- child → Widget
-
Widget to show as colum header
final
- flex → int
-
Flex space taken by each column in the table. Defaults to 1.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onSortTapped → void Function(bool sortedAsc)?
-
If you want to sort columns, implement this method.
final
- onTap → VoidCallback?
-
If provided, every time the user taps on the column header, this method
will be called. This can be useful i.e. to sort elements in the table.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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