onTap property

void Function()? onTap
final

Called if the cell is tapped.

If non-null, tapping the cell will call this callback. If null (including onDoubleTap, onLongPress, onTapCancel and onTapDown), tapping the cell will attempt to select the row (if DynamicTableDataRow.onSelectChanged is provided).

Implementation

final void Function()? onTap;