CardField constructor

const CardField({
  1. CardChangedCallback? onCardChanged,
  2. Key? key,
  3. CardFocusCallback? onFocus,
  4. InputDecoration? decoration,
  5. bool enablePostalCode = false,
  6. String? countryCode,
  7. TextStyle? style,
  8. bool autofocus = false,
  9. bool disabled = false,
  10. bool dangerouslyGetFullCardDetails = false,
  11. bool dangerouslyUpdateFullCardDetails = false,
  12. Color? cursorColor,
  13. String? numberHintText,
  14. String? expirationHintText,
  15. String? cvcHintText,
  16. String? postalCodeHintText,
  17. CardEditController? controller,
  18. List<CardBrand>? preferredNetworks,
  19. 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);