TableAdvancedColumnHeader constructor
TableAdvancedColumnHeader({
- required Widget child,
- int flex = 1,
- VoidCallback? onTap,
- void onSortTapped(
- bool sortedAsc
Configuration for column headers of TableAdvanced.
The child
is the Widget shown as column header. Use flex
to specify
the relative spacing taken by each column. Furthermore, if onTap
if provided,
a callback will be fired every time the user taps on the colum header.
Implementation
TableAdvancedColumnHeader({
required this.child,
this.flex = 1,
this.onTap,
this.onSortTapped,
});