NativePayButtons constructor

const NativePayButtons({
  1. Key? key,
  2. required PaymentRequest paymentRequest,
  3. void onApplePayResult(
    1. Map<String, dynamic> result
    )?,
  4. void onGooglePayResult(
    1. Map<String, dynamic> result
    )?,
  5. EdgeInsets margin = const EdgeInsets.only(bottom: 12),
})

Implementation

const NativePayButtons({
  super.key,
  required this.paymentRequest,
  this.onApplePayResult,
  this.onGooglePayResult,
  this.margin = const EdgeInsets.only(bottom: 12),
});