onLongPressEnd property Null safety
final
A pointer that has triggered a long-press with a primary button has stopped contacting the screen.
This is equivalent to (and is called immediately before) onLongPressUp. The only difference between the two is that this callback contains details of the state of the pointer when it stopped contacting the screen, whereas onLongPressUp does not.
See also:
- kPrimaryButton, the button this callback responds to.
- LongPressGestureRecognizer.onLongPressEnd, which exposes this callback at the gesture layer.
Implementation
final GestureLongPressEndCallback? onLongPressEnd;