onLongPressUp property

GestureLongPressUpCallback? onLongPressUp
final

Called when the user lifts their finger after a long press on the button.

This callback is triggered at the end of a long press gesture, specifically after the user holds a long press and then releases it. It does not include position details.

Common use cases include performing an action only after the long press completes, such as displaying a context menu or confirming a held gesture.

See also:

  • onLongPress, which is triggered when the long press gesture is first recognized.

Implementation

final GestureLongPressUpCallback? onLongPressUp;