AntdTapOptions constructor

const AntdTapOptions({
  1. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  2. double touchSlop = 8.0,
  3. int doubleTapTimeout = 300,
  4. int longPressTimeout = 200,
  5. bool alwaysTriggerTap = false,
  6. bool allowOffset = false,
  7. bool disabled = false,
  8. Duration? throttle,
  9. Duration? debounce,
  10. AntdHapticFeedback? hapticFeedback,
  11. Duration feedbackDuration = const Duration(milliseconds: 200),
  12. bool alwaysReceiveTap = false,
})

Implementation

const AntdTapOptions(
    {this.behavior = HitTestBehavior.deferToChild,
    this.touchSlop = 8.0,
    this.doubleTapTimeout = 300,
    this.longPressTimeout = 200,
    this.alwaysTriggerTap = false,
    this.allowOffset = false,
    this.disabled = false,
    this.throttle,
    this.debounce,
    this.hapticFeedback,
    this.feedbackDuration = const Duration(milliseconds: 200),
    this.alwaysReceiveTap = false});