onTap property

GestureTapCallback? 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 DataRow.onSelectChanged is provided).

Implementation

final GestureTapCallback? onTap;