AntdTapOptions constructor
const
AntdTapOptions({
- HitTestBehavior behavior = HitTestBehavior.deferToChild,
- double touchSlop = 8.0,
- int doubleTapTimeout = 300,
- int longPressTimeout = 200,
- bool alwaysTriggerTap = false,
- bool allowOffset = false,
- bool disabled = false,
- Duration? throttle,
- Duration? debounce,
- AntdHapticFeedback? hapticFeedback,
- Duration feedbackDuration = const Duration(milliseconds: 200),
- 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});