onSort property Null safety

DataColumnSortCallback? onSort
final

Called when the user asks to sort the table using this column.

If null, the column will not be considered sortable.

See DataTable.sortColumnIndex and DataTable.sortAscending.

Implementation

final DataColumnSortCallback? onSort;