LongPressListener constructor - LongPressListener - gestures library - Dart API
LongPressListener
LongPressListener constructor
- void onLongPressLambda()
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,
);