buildCard method
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,
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,
);
}