copyWith method
ZeroButtonIconStyleSet
copyWith({
- ZeroButtonIconStyle? primaryStyle,
- ZeroButtonIconStyle? secondaryStyle,
- double? largeSize,
- double? mediumSize,
- double? smallSize,
- Color? disabledColor,
If the caller passes in a value for a parameter, use that value, otherwise use the value from this object.
A new instance of ZeroButtonIconStyleSet with the same properties as the original instance, except for the properties that are explicitly overridden.
Implementation
ZeroButtonIconStyleSet copyWith({
ZeroButtonIconStyle? primaryStyle,
ZeroButtonIconStyle? secondaryStyle,
double? largeSize,
double? mediumSize,
double? smallSize,
Color? disabledColor,
}) {
return ZeroButtonIconStyleSet(
primaryStyle: primaryStyle ?? this.primaryStyle,
secondaryStyle: secondaryStyle ?? this.secondaryStyle,
largeSize: largeSize ?? this.largeSize,
mediumSize: mediumSize ?? this.mediumSize,
smallSize: smallSize ?? this.smallSize,
disabledColor: disabledColor ?? this.disabledColor,
);
}