copyWith method

  1. @useResult
FButtonIconStyle copyWith({
  1. Color? enabledColor,
  2. Color? disabledColor,
  3. double? size,
})

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

Implementation

@useResult
FButtonIconStyle copyWith({
  Color? enabledColor,
  Color? disabledColor,
  double? size,
}) =>
    FButtonIconStyle(
      enabledColor: enabledColor ?? this.enabledColor,
      disabledColor: disabledColor ?? this.disabledColor,
      size: size ?? this.size,
    );