CaptureGestures.tap constructor

const CaptureGestures.tap({
  1. Key? key,
  2. Widget? child,
  3. bool capturing = true,
  4. bool display = false,
})

Captures only single taps.

Implementation

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