copyWith method

  1. @useResult
FAlertCustomStyle copyWith({
  1. BoxDecoration? decoration,
  2. EdgeInsets? padding,
  3. FAlertIconStyle? icon,
  4. TextStyle? titleTextStyle,
  5. TextStyle? subtitleTextStyle,
})

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

Implementation

@useResult
FAlertCustomStyle copyWith({
  BoxDecoration? decoration,
  EdgeInsets? padding,
  FAlertIconStyle? icon,
  TextStyle? titleTextStyle,
  TextStyle? subtitleTextStyle,
}) =>
    FAlertCustomStyle(
      decoration: decoration ?? this.decoration,
      padding: padding ?? this.padding,
      icon: icon ?? this.icon,
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      subtitleTextStyle: subtitleTextStyle ?? this.subtitleTextStyle,
    );