copyWith method

  1. @useResult
FButtonIconContentStyle copyWith({
  1. EdgeInsets? padding,
  2. Color? enabledColor,
  3. Color? disabledColor,
  4. double? size,
})

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

Implementation

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