onTap property

VoidCallback? onTap
final

If provided, every time the user taps on the column header, this method will be called. This can be useful i.e. to sort elements in the table.

Implementation

final VoidCallback? onTap;