copyWith method
VoOverlayTheme
copyWith({
- EdgeInsets? searchPadding,
- EdgeInsets? margin,
- ShapeBorder? shape,
- TextStyle? titleStyle,
- EdgeInsets? contentPadding,
- double? horizontalTitleGap,
- TextAlign? titleAlignment,
- double? modalMaxWidth,
- double? modalMaxHeight,
- BoxDecoration? dialogDecoration,
- BoxDecoration? modalDecoration,
- BoxDecoration? bottomSheetDecoration,
- BoxDecoration? handleDecoration,
- Color? barrierColor,
- Size? handleSize,
- double? handleMargin,
Implementation
VoOverlayTheme copyWith({
EdgeInsets? searchPadding,
EdgeInsets? margin,
ShapeBorder? shape,
TextStyle? titleStyle,
EdgeInsets? contentPadding,
double? horizontalTitleGap,
TextAlign? titleAlignment,
double? modalMaxWidth,
double? modalMaxHeight,
BoxDecoration? dialogDecoration,
BoxDecoration? modalDecoration,
BoxDecoration? bottomSheetDecoration,
BoxDecoration? handleDecoration,
Color? barrierColor,
Size? handleSize,
double? handleMargin,
}) => VoOverlayTheme(
searchPadding: searchPadding ?? this.searchPadding,
margin: margin ?? this.margin,
shape: shape ?? this.shape,
titleStyle: titleStyle ?? this.titleStyle,
contentPadding: contentPadding ?? this.contentPadding,
horizontalTitleGap: horizontalTitleGap ?? this.horizontalTitleGap,
titleAlignment: titleAlignment ?? this.titleAlignment,
modalMaxWidth: modalMaxWidth ?? this.modalMaxWidth,
modalMaxHeight: modalMaxHeight ?? this.modalMaxHeight,
dialogDecoration: dialogDecoration ?? this.dialogDecoration,
modalDecoration: modalDecoration ?? this.modalDecoration,
bottomSheetDecoration: bottomSheetDecoration ?? this.bottomSheetDecoration,
handleDecoration: handleDecoration ?? this.handleDecoration,
barrierColor: barrierColor ?? this.barrierColor,
handleSize: handleSize ?? this.handleSize,
handleMargin: handleMargin ?? this.handleMargin,
);