copyWith method

  1. @useResult
FBadgeContentStyle copyWith({
  1. TextStyle? labelTextStyle,
  2. EdgeInsets? padding,
})

Returns a copy of this FBadgeContentStyle with the given properties replaced.

Implementation

@useResult
FBadgeContentStyle copyWith({TextStyle? labelTextStyle, EdgeInsets? padding}) => FBadgeContentStyle(
      labelTextStyle: labelTextStyle ?? this.labelTextStyle,
      padding: padding ?? this.padding,
    );