onLongPressCancel property

GestureLongPressCancelCallback? onLongPressCancel

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:


final GestureLongPressCancelCallback? onLongPressCancel;