LongPressListener constructor

LongPressListener(
  1. void onLongPressLambda(
    1. GestureState,
    2. Point2D
    )
)

Abstract class for handling long-press gestures.

Long-press gesture occurs after tapping and holding the finger for a long time on the screen.

Implementation

factory LongPressListener(
  void Function(GestureState, Point2D) onLongPressLambda,

) => LongPressListener$Lambdas(
  onLongPressLambda,

);