copyWith method

FxOverlayThemeData copyWith({
  1. EdgeInsets? searchPadding,
  2. EdgeInsets? margin,
  3. ShapeBorder? shape,
  4. TextStyle? titleStyle,
  5. EdgeInsets? contentPadding,
  6. double? horizontalTitleGap,
  7. TextAlign? titleAlignment,
  8. BoxDecoration? dialogDecoration,
  9. BoxDecoration? modalDecoration,
  10. BoxDecoration? bottomSheetDecoration,
  11. BoxDecoration? handleDecoration,
  12. Color? barrierColor,
  13. Size? handleSize,
  14. double? handleMargin,
  15. FxDottedDividerThemeData? dividerTheme,
})

Implementation

FxOverlayThemeData copyWith({
  EdgeInsets? searchPadding,
  EdgeInsets? margin,
  ShapeBorder? shape,
  TextStyle? titleStyle,
  EdgeInsets? contentPadding,
  double? horizontalTitleGap,
  TextAlign? titleAlignment,
  BoxDecoration? dialogDecoration,
  BoxDecoration? modalDecoration,
  BoxDecoration? bottomSheetDecoration,
  BoxDecoration? handleDecoration,
  Color? barrierColor,
  Size? handleSize,
  double? handleMargin,
  FxDottedDividerThemeData? dividerTheme,
}) => FxOverlayThemeData(
  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,
  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,
  dividerTheme: dividerTheme ?? this.dividerTheme,
);