copyWith method

  1. @useResult
FAlertCustomStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? padding,
  3. Color? iconColor,
  4. double? iconSize,
  5. TextStyle? titleTextStyle,
  6. TextStyle? subtitleTextStyle,
})

Returns a copy of this FAlertCustomStyle with the given properties replaced.

Implementation

@useResult
FAlertCustomStyle copyWith({
  BoxDecoration? decoration,
  EdgeInsets? padding,
  Color? iconColor,
  double? iconSize,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
}) =>
    FAlertCustomStyle(
      decoration: decoration ?? this.decoration,
      padding: padding ?? this.padding,
      iconColor: iconColor ?? this.iconColor,
      iconSize: iconSize ?? this.iconSize,
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
    );