MultiDragGestureRecognizer constructor

MultiDragGestureRecognizer({
  1. required Object? debugOwner,
  2. Set<PointerDeviceKind>? supportedDevices,
  3. AllowedButtonsFilter? allowedButtonsFilter,
})

Initialize the object.

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

Implementation

MultiDragGestureRecognizer({
  required super.debugOwner,
  super.supportedDevices,
  AllowedButtonsFilter? allowedButtonsFilter,
}) : super(allowedButtonsFilter: allowedButtonsFilter ?? _defaultButtonAcceptBehavior);