onSort property
Called when the user asks to sort the table using this column.
If null, the column will not be considered sortable.
See DynamicTable.sortColumnIndex and DynamicTable.sortAscending.
Implementation
final DataColumnSortCallback? onSort;