AgreementWidget constructor

AgreementWidget({
  1. required PaymentWidget paymentWidget,
  2. required String selector,
  3. void onChange(
    1. AgreementStatus
    )?,
})

Implementation

AgreementWidget({required PaymentWidget paymentWidget, required String selector, this.onChange})
    : super(key: paymentWidget.getGlobalKey<PaymentAgreementWidgetState>(selector), paymentWidget: paymentWidget);