HtechPayCardFieldWidget constructor
const
HtechPayCardFieldWidget({
- Key? key,
- bool isSandboxMode = true,
- bool isDarkTheme = false,
- required String orderId,
- required HtechPayPaymentFieldController controller,
- required CardFieldType type,
- required PaymentResponse onPaymentResult,
- required ValidForm onValidForm,
- required Error onError,
- ProcessPayment? onProcessPayment,
- Challenge3dsOpen? on3dsChallengeOpen,
- CardFieldStatusWidget? onGetWidgetStatus,
- CloseConfirmCvvDialog? onClose,
Implementation
const HtechPayCardFieldWidget(
{super.key,
this.isSandboxMode = true,
this.isDarkTheme = false,
required this.orderId,
required this.controller,
required this.type,
required this.onPaymentResult,
required this.onValidForm,
required this.onError,
this.onProcessPayment,
this.on3dsChallengeOpen,
this.onGetWidgetStatus,
this.onClose});