onLongPressCancel property

GestureLongPressCancelCallback? onLongPressCancel
final

A pointer that previously triggered onLongPressDown will not end up causing a long-press.

This triggers once the gesture loses if onLongPressDown has previously been triggered.

If the user completed the long-press, and the gesture won, then onLongPressStart and onLongPress are called instead.

See also:

Implementation

final GestureLongPressCancelCallback? onLongPressCancel;