copyWith method

PanelSetting copyWith({
  1. double? minHeight,
  2. double? maxHeight,
  3. double? snappingPoint,
  4. Widget? background,
})

Implementation

PanelSetting copyWith({
  double? minHeight,
  double? maxHeight,
  double? snappingPoint,
  Widget? background,
}) {
  return PanelSetting(
    minHeight: minHeight ?? this.minHeight,
    maxHeight: maxHeight ?? this.maxHeight,
    snappingPoint: snappingPoint ?? this.snappingPoint,
    background: background ?? this.background,
  );
}