PaymentMethodWidget constructor

PaymentMethodWidget({
  1. required PaymentWidget paymentWidget,
  2. required String selector,
  3. void onCustomRequested(
    1. String
    )?,
  4. void onCustomPaymentMethodSelected(
    1. String
    )?,
  5. void onCustomPaymentMethodUnselected(
    1. String
    )?,
})

Implementation

PaymentMethodWidget(
    {required PaymentWidget paymentWidget,
    required String selector,
    this.onCustomRequested,
    this.onCustomPaymentMethodSelected,
    this.onCustomPaymentMethodUnselected})
    : super(key: paymentWidget.getGlobalKey<PaymentMethodWidgetState>(selector), paymentWidget: paymentWidget);