acceptGesture method
Called when this recognizer wins the arena.
Implementation
@override
void acceptGesture() {
state = GestureRecognizerState.accepted;
_longPressAccepted = true;
addCmd(
onLongPressStart?.call(
LongPressStartDetails(
globalPosition: _downGlobal ?? Offset.zero,
localPosition: _downLocal ?? Offset.zero,
),
),
);
addCmd(onLongPress?.call());
}