TapPositionDetector constructor

const TapPositionDetector({
  1. Key? key,
  2. Widget? child,
  3. ValueChanged<TapPosition>? onTap,
  4. ValueChanged<TapPosition>? onDoubleTap,
  5. ValueChanged<TapPosition>? onLongPress,
  6. Duration doubleTapDelay = _DEFAULT_DELAY,
  7. HitTestBehavior? behavior,
  8. TapPositionController? controller,
})

Implementation

const TapPositionDetector({
  super.key,
  this.child,
  this.onTap,
  this.onDoubleTap,
  this.onLongPress,
  this.doubleTapDelay = _DEFAULT_DELAY,
  this.behavior,
  this.controller,
});