copyWith method

  1. @useResult
FDialogStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? insetPadding,
  3. FDialogContentStyle? horizontalStyle,
  4. FDialogContentStyle? verticalStyle,
  5. double? minWidth,
  6. 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,
    );