copyWith method
Returns a copy of this FBadgeContentStyle with the given properties replaced.
Consider using the CLI to generate a style.
Parameters
- FBadgeContentStyle.labelTextStyle - The label's TextStyle.
- FBadgeContentStyle.padding - The padding.
Implementation
@useResult
FBadgeContentStyle copyWith({TextStyle? labelTextStyle, EdgeInsetsGeometry? padding}) =>
FBadgeContentStyle(labelTextStyle: labelTextStyle ?? this.labelTextStyle, padding: padding ?? this.padding);