copyWith method

InteractiveEnabledGestures copyWith({
  1. bool? tap,
  2. bool? longPress,
  3. bool? drag,
  4. bool? hover,
})

Implementation

InteractiveEnabledGestures copyWith({
  bool? tap,
  bool? longPress,
  bool? drag,
  bool? hover,
}) {
  return InteractiveEnabledGestures(
    tap: tap ?? this.tap,
    longPress: longPress ?? this.longPress,
    drag: drag ?? this.drag,
    hover: hover ?? this.hover,
  );
}