copyWith method

JustBottomSheetDragZoneConfiguration copyWith({
  1. double? height,
  2. double? width,
  3. Color? backgroundColor,
  4. DragZonePosition? dragZonePosition,
  5. Widget? child,
})

Implementation

JustBottomSheetDragZoneConfiguration copyWith({
  double? height,
  double? width,
  Color? backgroundColor,
  DragZonePosition? dragZonePosition,
  Widget? child,
}) {
  return JustBottomSheetDragZoneConfiguration(
    height: height ?? this.height,
    width: width ?? this.width,
    backgroundColor: backgroundColor ?? this.backgroundColor,
    dragZonePosition: dragZonePosition ?? this.dragZonePosition,
    child: child ?? this.child,
  );
}