copyFrom method
Implementation
AntdTapOptions copyFrom(AntdTapOptions? options) {
return copyWith(
behavior: options?.behavior ?? behavior,
touchSlop: options?.touchSlop ?? touchSlop,
doubleTapTimeout: options?.doubleTapTimeout ?? doubleTapTimeout,
longPressTimeout: options?.longPressTimeout ?? longPressTimeout,
alwaysTriggerTap: options?.alwaysTriggerTap ?? alwaysTriggerTap,
allowOffset: options?.allowOffset ?? allowOffset,
disabled: options?.disabled ?? disabled,
throttle: options?.throttle ?? throttle,
debounce: options?.debounce ?? debounce,
feedbackDuration: options?.feedbackDuration ?? feedbackDuration,
hapticFeedback: options?.hapticFeedback ?? hapticFeedback,
alwaysReceiveTap: options?.alwaysReceiveTap ?? alwaysReceiveTap,
);
}