copyWith method
- @useResult
- BoxDecoration? decoration,
- EdgeInsets? insetPadding,
- FDialogContentStyle? horizontalStyle,
- FDialogContentStyle? verticalStyle,
- double? minWidth,
- double? maxWidth,
Returns a copy of this FButtonCustomStyle with the given properties replaced.
Implementation
@useResult
FDialogStyle copyWith({
BoxDecoration? decoration,
EdgeInsets? insetPadding,
FDialogContentStyle? horizontalStyle,
FDialogContentStyle? verticalStyle,
double? minWidth,
double? maxWidth,
}) =>
FDialogStyle(
decoration: decoration ?? this.decoration,
insetPadding: insetPadding ?? this.insetPadding,
horizontalStyle: horizontalStyle ?? this.horizontalStyle,
verticalStyle: verticalStyle ?? this.verticalStyle,
minWidth: minWidth ?? this.minWidth,
maxWidth: maxWidth ?? this.maxWidth,
);