copyWith method
Implementation
CkInputConfig copyWith({
TextStyle? hintStyle,
TextStyle? textStyle,
double? fontSize,
TextAlign? textAlign,
Color? borderColor,
double? borderRadius,
double? borderWidth,
Color? backgroundColor,
bool? enableCapitalization,
}) {
return CkInputConfig(
hintStyle: hintStyle ?? this.hintStyle,
textStyle: textStyle ?? this.textStyle,
fontSize: fontSize ?? this.fontSize,
textAlign: textAlign ?? this.textAlign,
borderColor: borderColor ?? this.borderColor,
borderRadius: borderRadius ?? this.borderRadius,
borderWidth: borderWidth ?? this.borderWidth,
backgroundColor: backgroundColor ?? this.backgroundColor,
enableCapitalization: enableCapitalization ?? this.enableCapitalization,
);
}