copyWith method
ZeroTextfieldStyle
copyWith({
- InputDecorationType? inputDecorationType,
- ZeroTextfieldSize? textfieldSize,
- bool? enabled,
- bool? error,
- Color? focusedBorderColor,
- Color? focusedColor,
- Color? fillColor,
Implementation
ZeroTextfieldStyle copyWith(
{InputDecorationType? inputDecorationType,
ZeroTextfieldSize? textfieldSize,
bool? enabled,
bool? error,
Color? focusedBorderColor,
Color? focusedColor,
Color? fillColor}) {
return ZeroTextfieldStyle(
inputDecorationType: inputDecorationType ?? this.inputDecorationType,
textfieldSize: textfieldSize ?? this.textfieldSize,
enabled: enabled ?? this.enabled,
error: error ?? this.error,
focusedBorderColor: focusedBorderColor ?? this.focusedBorderColor,
focusedColor: focusedColor ?? this.focusedColor,
fillColor: fillColor ?? this.fillColor);
}