CardField constructor
const
CardField({
- CardChangedCallback? onCardChanged,
- Key? key,
- CardFocusCallback? onFocus,
- InputDecoration? decoration,
- bool enablePostalCode = false,
- String? countryCode,
- TextStyle? style,
- bool autofocus = false,
- bool disabled = false,
- bool dangerouslyGetFullCardDetails = false,
- bool dangerouslyUpdateFullCardDetails = false,
- Color? cursorColor,
- String? numberHintText,
- String? expirationHintText,
- String? cvcHintText,
- String? postalCodeHintText,
- CardEditController? controller,
- List<
CardBrand> ? preferredNetworks, - AndroidPlatformViewRenderType androidPlatformViewRenderType = AndroidPlatformViewRenderType.expensiveAndroidView,
Implementation
const CardField({
this.onCardChanged,
Key? key,
this.onFocus,
this.decoration,
this.enablePostalCode = false,
this.countryCode,
this.style,
this.autofocus = false,
this.disabled = false,
this.dangerouslyGetFullCardDetails = false,
this.dangerouslyUpdateFullCardDetails = false,
this.cursorColor,
this.numberHintText,
this.expirationHintText,
this.cvcHintText,
this.postalCodeHintText,
this.controller,
this.preferredNetworks,
this.androidPlatformViewRenderType =
AndroidPlatformViewRenderType.expensiveAndroidView,
}) : super(key: key);