copyWith method
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,
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,
);