copyWith method
RCKInputFieldConfig
copyWith({
- double? maxHeight,
- Color? fillColor,
- InputBorder? border,
- InputBorder? focusedBorder,
- EdgeInsets? contentPadding,
- TextStyle? textStyle,
- String? hintText,
- TextStyle? hintStyle,
- Color? cursorColor,
- double? borderRadius,
- TextInputAction? textInputAction,
Implementation
RCKInputFieldConfig copyWith({
double? maxHeight,
Color? fillColor,
InputBorder? border,
InputBorder? focusedBorder,
EdgeInsets? contentPadding,
TextStyle? textStyle,
String? hintText,
TextStyle? hintStyle,
Color? cursorColor,
double? borderRadius,
TextInputAction? textInputAction,
}) {
return RCKInputFieldConfig(
maxHeight: maxHeight ?? this.maxHeight,
fillColor: fillColor ?? this.fillColor,
border: border ?? this.border,
focusedBorder: focusedBorder ?? this.focusedBorder,
contentPadding: contentPadding ?? this.contentPadding,
textStyle: textStyle ?? this.textStyle,
hintText: hintText ?? this.hintText,
hintStyle: hintStyle ?? this.hintStyle,
cursorColor: cursorColor ?? this.cursorColor,
borderRadius: borderRadius ?? this.borderRadius,
textInputAction: textInputAction ?? this.textInputAction,
);
}