copyWith method

VoOverlayTheme copyWith({
  1. EdgeInsets? searchPadding,
  2. EdgeInsets? margin,
  3. ShapeBorder? shape,
  4. TextStyle? titleStyle,
  5. EdgeInsets? contentPadding,
  6. double? horizontalTitleGap,
  7. TextAlign? titleAlignment,
  8. double? modalMaxWidth,
  9. double? modalMaxHeight,
  10. BoxDecoration? dialogDecoration,
  11. BoxDecoration? modalDecoration,
  12. BoxDecoration? bottomSheetDecoration,
  13. BoxDecoration? handleDecoration,
  14. Color? barrierColor,
  15. Size? handleSize,
  16. 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,
);