onLongPress property

(void Function(GestureDetails)?) onLongPress
final

The callback function called when a tappable element is long-pressed.

The argument with the same name in the relevant definition takes precedence over this.

Implementation

final void Function(GestureDetails)? onLongPress;