PaymentCardTextField constructor
PaymentCardTextField({
- dynamic onCardChanged()?,
- Color primaryColor = Colors.blue,
- Color errorColor = Colors.red,
- Color backgroundColor = Colors.white,
- Color? hintColor,
- bool autoFocus = false,
- Brightness? keyboardAppearance,
- Color textColor = const Color.fromRGBO(35, 35, 35, 1),
- String? cardHintText,
- String? cvcHintText,
- String? expHintText,
- TextStyle? hintStyle,
- TextStyle? style()?,
- String validationMessage()?,
- Widget validationIcon()?,
- List<
BoxShadow> ? boxShadow, - double height = 50,
- BoxConstraints? constraints,
- BoxBorder border()?,
- BoxDecoration? decoration()?,
- EdgeInsets? textFieldPadding,
- EdgeInsets? validityPadding,
- BorderRadiusGeometry? borderRadius,
- bool showValidityWidget = true,
- 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,
});