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