OpsScaleGestureRecognizer constructor

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

Create a gesture recognizer for interactions intended for scaling content.

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

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