PaymentCardTextField constructor

PaymentCardTextField({
  1. dynamic onCardChanged(
    1. StripeCard
    )?,
  2. Color primaryColor = Colors.blue,
  3. Color errorColor = Colors.red,
  4. Color backgroundColor = Colors.white,
  5. Color? hintColor,
  6. bool autoFocus = false,
  7. Brightness? keyboardAppearance,
  8. Color textColor = const Color.fromRGBO(35, 35, 35, 1),
  9. String? cardHintText,
  10. String? cvcHintText,
  11. String? expHintText,
  12. TextStyle? hintStyle,
  13. TextStyle? style(
    1. PaymentCardTextFieldStatus,
    2. StripeCard
    )?,
  14. String validationMessage(
    1. PaymentCardTextFieldError
    )?,
  15. Widget validationIcon(
    1. PaymentCardTextFieldError
    )?,
  16. List<BoxShadow>? boxShadow,
  17. double height = 50,
  18. BoxConstraints? constraints,
  19. BoxBorder border(
    1. PaymentCardTextFieldStatus,
    2. StripeCard
    )?,
  20. BoxDecoration? decoration(
    1. PaymentCardTextFieldStatus,
    2. StripeCard
    )?,
  21. EdgeInsets? textFieldPadding,
  22. EdgeInsets? validityPadding,
  23. BorderRadiusGeometry? borderRadius,
  24. bool showValidityWidget = true,
  25. bool showShadow = true,
})

Implementation

PaymentCardTextField({
  this.onCardChanged,
  this.primaryColor = Colors.blue,
  this.errorColor = Colors.red,
  this.backgroundColor = Colors.white,
  this.hintColor,
  this.autoFocus = false,
  this.keyboardAppearance,
  this.textColor = const Color.fromRGBO(35, 35, 35, 1),
  this.cardHintText,
  this.cvcHintText,
  this.expHintText,
  this.hintStyle,
  this.style,
  this.validationMessage,
  this.validationIcon,
  this.boxShadow,
  this.height = 50,
  this.constraints,
  this.border,
  this.decoration,
  this.textFieldPadding,
  this.validityPadding,
  this.borderRadius,
  this.showValidityWidget = true,
  this.showShadow = true,
});