copyWith method

Implementation

NomoInputThemeData copyWith([NomoInputThemeDataNullable? override]) {
  return NomoInputThemeData(
    background: override?.background ?? background,
    errorColor: override?.errorColor ?? errorColor,
    borderRadius: override?.borderRadius ?? borderRadius,
    border: override?.border ?? border,
    selectedBorder: override?.selectedBorder ?? selectedBorder,
    errorBorder: override?.errorBorder ?? errorBorder,
    selectedErrorBorder: override?.selectedErrorBorder ?? selectedErrorBorder,
    margin: override?.margin ?? margin,
    padding: override?.padding ?? padding,
    duration: override?.duration ?? duration,
    curve: override?.curve ?? curve,
    titleSpacing: override?.titleSpacing ?? titleSpacing,
  );
}