CardFormField constructor

const CardFormField({
  1. CardChangedCallback? onCardChanged,
  2. CardFocusCallback? onFocus,
  3. bool enablePostalCode = true,
  4. String? countryCode,
  5. CardFormStyle? style,
  6. bool autofocus = false,
  7. bool dangerouslyGetFullCardDetails = false,
  8. bool dangerouslyUpdateFullCardDetails = false,
  9. bool disabled = false,
  10. CardFormEditController? controller,
  11. List<CardBrand>? preferredNetworks,
  12. Key? key,
})

Implementation

const CardFormField({
  this.onCardChanged,
  this.onFocus,
  this.enablePostalCode = true,
  this.countryCode,
  this.style,
  this.autofocus = false,
  this.dangerouslyGetFullCardDetails = false,
  this.dangerouslyUpdateFullCardDetails = false,
  this.disabled = false,
  this.controller,
  this.preferredNetworks,
  super.key,
});