copyWith method
ZeroTextfieldStyleSet
copyWith({
- ZeroTextfieldStyle? outline,
- ZeroTextfieldStyle? rounded,
- ZeroTextfieldStyle? filled,
- ZeroTextfieldStyle? underline,
- InputDecorationType? defaultDecorationType,
- ZeroTextfieldSize? textfieldSize,
- Color? focusedBorderColor,
- Color? focusedColor,
Implementation
ZeroTextfieldStyleSet copyWith({
ZeroTextfieldStyle? outline,
ZeroTextfieldStyle? rounded,
ZeroTextfieldStyle? filled,
ZeroTextfieldStyle? underline,
InputDecorationType? defaultDecorationType,
ZeroTextfieldSize? textfieldSize,
Color? focusedBorderColor,
Color? focusedColor,
}) {
return ZeroTextfieldStyleSet._(
outline: outline ?? this.outline,
rounded: rounded ?? this.rounded,
filled: filled ?? this.filled,
textfieldSize: textfieldSize ?? this.textfieldSize,
underline: underline ?? this.underline,
defaultDecorationType:
defaultDecorationType ?? this.defaultDecorationType,
focusedBorderColor: focusedBorderColor ?? this.focusedBorderColor,
focusedColor: focusedColor ?? this.focusedColor,
);
}