copyWith method

DragballPosition copyWith({
  1. double? top,
  2. bool? isRight,
  3. bool? isHide,
})

Implementation

DragballPosition copyWith({
  double? top,
  bool? isRight,
  bool? isHide,
}) =>
    DragballPosition(
      top: top ?? this.top,
      isRight: isRight ?? this.isRight,
      isHide: isHide ?? this.isHide,
    );