onSecondaryLongPressCancel property

GestureLongPressCancelCallback? onSecondaryLongPressCancel
final

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

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

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

See also:

Implementation

final GestureLongPressCancelCallback? onSecondaryLongPressCancel;