PositionedTapDetector2 constructor

const PositionedTapDetector2({
  1. Key? key,
  2. Widget? child,
  3. TapPositionCallback? onTap,
  4. TapPositionCallback? onDoubleTap,
  5. TapPositionCallback? onSecondaryTap,
  6. TapPositionCallback? onLongPress,
  7. Duration? doubleTapDelay,
  8. HitTestBehavior? behavior,
  9. PositionedTapController? controller,
})

Implementation

const PositionedTapDetector2({
  super.key,
  this.child,
  this.onTap,
  this.onDoubleTap,
  this.onSecondaryTap,
  this.onLongPress,
  Duration? doubleTapDelay,
  this.behavior,
  this.controller,
}) : doubleTapDelay = doubleTapDelay ?? _defaultDelay;