LongPressGestureRecognizer constructor

LongPressGestureRecognizer({Object debugOwner })

Creates a long-press gesture recognizer.

Consider assigning the onLongPress callback after creating this object.

Implementation

LongPressGestureRecognizer({ Object debugOwner })
    : super(deadline: kLongPressTimeout, debugOwner: debugOwner);