onLongPress property

void Function()? onLongPress
final

Called when the user long presses the target widget.

Implementation

final void Function()? onLongPress;