buildCard method

  1. @override
Widget buildCard({
  1. Key? key,
  2. required CardEditController controller,
  3. CardChangedCallback? onCardChanged,
  4. CardFocusCallback? onFocus,
  5. CardStyle? style,
  6. CardPlaceholder? placeholder,
  7. bool enablePostalCode = false,
  8. double? width,
  9. double? height,
  10. BoxConstraints? constraints,
  11. FocusNode? focusNode,
  12. bool autofocus = false,
  13. bool dangerouslyUpdateFullCardDetails = false,
})
override

Implementation

@override
Widget buildCard({
  Key? key,
  required CardEditController controller,
  CardChangedCallback? onCardChanged,
  CardFocusCallback? onFocus,
  CardStyle? style,
  CardPlaceholder? placeholder,
  bool enablePostalCode = false,
  double? width,
  double? height,
  BoxConstraints? constraints,
  FocusNode? focusNode,
  bool autofocus = false,
  bool dangerouslyUpdateFullCardDetails = false,
}) {
  return WebCardField(
    controller: controller,
    onCardChanged: onCardChanged,
    onFocus: onFocus,
    style: style,
    placeholder: placeholder,
    enablePostalCode: enablePostalCode,
    width: width,
    height: height,
    constraints: constraints,
    focusNode: focusNode,
    autofocus: autofocus,
    dangerouslyUpdateFullCardDetails: dangerouslyUpdateFullCardDetails,
  );
}