onLongPress property

GestureLongPressCallback? onLongPress
getter/setter pair

Called when a long press gesture by a primary button has been recognized.

This is equivalent to (and is called immediately after) onLongPressStart. The only difference between the two is that this callback does not contain details of the position at which the pointer initially contacted the screen.

See also:

Implementation

GestureLongPressCallback? onLongPress;