copyWith method
AppzStateStyle
copyWith(
{ - Color? borderColor,
- double? borderWidth,
- double? borderRadius,
- Color? backgroundColor,
- Color? textColor,
- Color? labelColor,
- String? fontFamily,
- double? fontSize,
- double? labelFontSize,
- double? paddingHorizontal,
- double? paddingVertical,
})
Implementation
AppzStateStyle copyWith({
Color? borderColor,
double? borderWidth,
double? borderRadius,
Color? backgroundColor,
Color? textColor,
Color? labelColor,
String? fontFamily,
double? fontSize,
double? labelFontSize,
double? paddingHorizontal,
double? paddingVertical,
}) {
return AppzStateStyle(
borderColor: borderColor ?? this.borderColor,
borderWidth: borderWidth ?? this.borderWidth,
borderRadius: borderRadius ?? this.borderRadius,
backgroundColor: backgroundColor ?? this.backgroundColor,
textColor: textColor ?? this.textColor,
labelColor: labelColor ?? this.labelColor,
fontFamily: fontFamily ?? this.fontFamily,
fontSize: fontSize ?? this.fontSize,
labelFontSize: labelFontSize ?? this.labelFontSize,
paddingHorizontal: paddingHorizontal ?? this.paddingHorizontal,
paddingVertical: paddingVertical ?? this.paddingVertical,
);
}