onLongPress property Null safety

GestureLongPressCallback? onLongPress
final

Called if the cell is long-pressed.

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

Implementation

final GestureLongPressCallback? onLongPress;