HorizontalDragGestureRecognizer constructor

HorizontalDragGestureRecognizer(
  1. {Object debugOwner,
  2. PointerDeviceKind kind}
)

Create a gesture recognizer for interactions in the horizontal axis.

It's possible to limit this recognizer to a specific PointerDeviceKind by providing the optional kind argument. If kind is null, the recognizer will accept pointer events from all device kinds.

Implementation

HorizontalDragGestureRecognizer({
  Object debugOwner,
  PointerDeviceKind kind,
}) : super(debugOwner: debugOwner, kind: kind);