copyWith method
AntdTapOptions
copyWith(
{ - HitTestBehavior? behavior,
- double? touchSlop,
- int? doubleTapTimeout,
- int? longPressTimeout,
- bool? alwaysTriggerTap,
- bool? allowOffset,
- bool? disabled,
- Duration? throttle,
- Duration? debounce,
- Duration? feedbackDuration,
- AntdHapticFeedback? hapticFeedback,
- bool? alwaysReceiveTap,
})
Implementation
AntdTapOptions copyWith(
{HitTestBehavior? behavior,
double? touchSlop,
int? doubleTapTimeout,
int? longPressTimeout,
bool? alwaysTriggerTap,
bool? allowOffset,
bool? disabled,
Duration? throttle,
Duration? debounce,
Duration? feedbackDuration,
AntdHapticFeedback? hapticFeedback,
bool? alwaysReceiveTap}) {
return AntdTapOptions(
behavior: behavior ?? this.behavior,
touchSlop: touchSlop ?? this.touchSlop,
doubleTapTimeout: doubleTapTimeout ?? this.doubleTapTimeout,
longPressTimeout: longPressTimeout ?? this.longPressTimeout,
alwaysTriggerTap: alwaysTriggerTap ?? this.alwaysTriggerTap,
allowOffset: allowOffset ?? this.allowOffset,
disabled: disabled ?? this.disabled,
throttle: throttle ?? this.throttle,
debounce: debounce ?? this.debounce,
feedbackDuration: feedbackDuration ?? this.feedbackDuration,
hapticFeedback: hapticFeedback ?? this.hapticFeedback,
alwaysReceiveTap: alwaysReceiveTap ?? this.alwaysReceiveTap);
}