copyWith method

  1. @useResult
FBadgeStyle copyWith({
  1. BoxDecoration? decoration,
  2. 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);