copyWith method
Implementation
CPDFPushButtonAttr copyWith({
String? title,
Color? fillColor,
Color? borderColor,
double? borderWidth,
Color? fontColor,
double? fontSize,
String? familyName,
String? styleName,
}) {
return CPDFPushButtonAttr(
title: title ?? this.title,
fillColor: fillColor ?? this.fillColor,
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
fontColor: fontColor ?? this.fontColor,
fontSize: fontSize ?? this.fontSize,
familyName: familyName ?? this.familyName,
styleName: styleName ?? this.styleName);
}