TableAdvancedColumnHeader constructor

TableAdvancedColumnHeader({
  1. required Widget child,
  2. int flex = 1,
  3. VoidCallback? onTap,
  4. void onSortTapped(
    1. 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,
});