copyWith method
- @useResult
- BoxDecoration? enabledBoxDecoration,
- BoxDecoration? disabledBoxDecoration,
- FButtonContentStyle? content,
- FButtonIconStyle? icon,
- FButtonIconContentStyle? iconContent,
Returns a copy of this FButtonCustomStyle with the given properties replaced.
Implementation
@useResult
FButtonCustomStyle copyWith({
BoxDecoration? enabledBoxDecoration,
BoxDecoration? disabledBoxDecoration,
FButtonContentStyle? content,
FButtonIconStyle? icon,
FButtonIconContentStyle? iconContent,
}) =>
FButtonCustomStyle(
enabledBoxDecoration: enabledBoxDecoration ?? this.enabledBoxDecoration,
disabledBoxDecoration: disabledBoxDecoration ?? this.disabledBoxDecoration,
content: content ?? this.content,
icon: icon ?? this.icon,
iconContent: iconContent ?? this.iconContent,
);