onLongPressStart property Null safety

GestureLongPressStartCallback? onLongPressStart

Called when a long press gesture with a primary button has been recognized.

Triggered when a pointer has remained in contact with the screen at the same location for a long period of time.

See also:

  • kPrimaryButton, the button this callback responds to.
  • onLongPress, which has the same timing but without the gesture details.


final GestureLongPressStartCallback? onLongPressStart;