CaptureGestures.only constructor

const CaptureGestures.only({
  1. Key? key,
  2. Widget? child,
  3. bool capturingTap = false,
  4. bool capturingDoubleTap = false,
  5. bool capturingLongPress = false,
  6. bool capturingVerticalDrag = false,
  7. bool capturingHorizontalDrag = false,
  8. bool capturingForcePress = false,
  9. bool display = false,
})

Captures only the specified gestures.

Implementation

const CaptureGestures.only({
  Key? key,
  this.child,
  this.capturingTap = false,
  this.capturingDoubleTap = false,
  this.capturingLongPress = false,
  this.capturingVerticalDrag = false,
  this.capturingHorizontalDrag = false,
  this.capturingForcePress = false,
  this.display = false,
}) : super(key: key);