copyWith method

ZeroTextfieldStyleSet copyWith({
  1. ZeroTextfieldStyle? outline,
  2. ZeroTextfieldStyle? rounded,
  3. ZeroTextfieldStyle? filled,
  4. ZeroTextfieldStyle? underline,
  5. InputDecorationType? defaultDecorationType,
  6. ZeroTextfieldSize? textfieldSize,
  7. Color? focusedBorderColor,
  8. 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,
  );
}