copyWith method
- @useResult
- BoxDecoration? decoration,
- FBadgeContentStyle? contentStyle,
inherited
Returns a copy of this FBadgeStyle with the given properties replaced.
Where possible, it is strongly recommended to use the CLI to generate a style and directly modify the style.
Implementation
@useResult
FBadgeStyle copyWith({BoxDecoration? decoration, FBadgeContentStyle? contentStyle}) =>
FBadgeStyle(decoration: decoration ?? this.decoration, contentStyle: contentStyle ?? this.contentStyle);