onSort property

void Function(int columnIndex, bool ascending)? onSort
final

An optional callback when the column header is activated for sorting.

Implementation

final void Function(int columnIndex, bool ascending)? onSort;