copyWith method
SmartSearchOverlayConfig
copyWith({
- OverlayPosition? position,
- double? maxHeight,
- double? maxWidth,
- double? offset,
- double? borderRadius,
- double? elevation,
- Color? barrierColor,
- bool? barrierDismissible,
- Duration? animationDuration,
- BoxConstraints? constraints,
Implementation
SmartSearchOverlayConfig copyWith({
OverlayPosition? position,
double? maxHeight,
double? maxWidth,
double? offset,
double? borderRadius,
double? elevation,
Color? barrierColor,
bool? barrierDismissible,
Duration? animationDuration,
BoxConstraints? constraints,
}) {
return SmartSearchOverlayConfig(
position: position ?? this.position,
maxHeight: maxHeight ?? this.maxHeight,
maxWidth: maxWidth ?? this.maxWidth,
offset: offset ?? this.offset,
borderRadius: borderRadius ?? this.borderRadius,
elevation: elevation ?? this.elevation,
barrierColor: barrierColor ?? this.barrierColor,
barrierDismissible: barrierDismissible ?? this.barrierDismissible,
animationDuration: animationDuration ?? this.animationDuration,
constraints: constraints ?? this.constraints,
);
}