copyWith method

PaymentFormTheme copyWith({
  1. int? backgroundColor,
  2. int? textColor,
  3. int? hintColor,
  4. int? linkColor,
  5. int? buttonColor,
  6. int? buttonTextColor,
})

Implementation

PaymentFormTheme copyWith({
  int? backgroundColor,
  int? textColor,
  int? hintColor,
  int? linkColor,
  int? buttonColor,
  int? buttonTextColor,
}) => PaymentFormTheme(
  backgroundColor: backgroundColor ?? this.backgroundColor,
  textColor: textColor ?? this.textColor,
  hintColor: hintColor ?? this.hintColor,
  linkColor: linkColor ?? this.linkColor,
  buttonColor: buttonColor ?? this.buttonColor,
  buttonTextColor: buttonTextColor ?? this.buttonTextColor,
);