copyWith method
- @useResult
- BoxDecoration? decoration,
- EdgeInsets? padding,
- FAlertIconStyle? icon,
- TextStyle? titleTextStyle,
- 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,
);