copyWith method
Returns a copy of this FButtonContentStyle with the given properties replaced.
Implementation
@useResult
FButtonContentStyle copyWith({
TextStyle? enabledTextStyle,
TextStyle? disabledTextStyle,
EdgeInsets? padding,
Color? enabledIconColor,
Color? disabledIconColor,
double? iconSize,
}) =>
FButtonContentStyle(
enabledTextStyle: enabledTextStyle ?? this.enabledTextStyle,
disabledTextStyle: disabledTextStyle ?? this.disabledTextStyle,
padding: padding ?? this.padding,
enabledIconColor: enabledIconColor ?? this.enabledIconColor,
disabledIconColor: disabledIconColor ?? this.disabledIconColor,
iconSize: iconSize ?? this.iconSize,
);