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. void onError(
    1. Object? error
    )?,
  6. EdgeInsets margin = const EdgeInsets.only(bottom: 12),
})

Implementation

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