LearmondPayButtons constructor

const LearmondPayButtons({
  1. Key? key,
  2. String? apiKey,
  3. String? appleMerchantId,
  4. Map<String, dynamic>? merchantArgs,
  5. String? merchantName,
  6. String? merchantInfo,
  7. List<SummaryLineItem>? summaryItems,
  8. String? googleMerchantId,
  9. String amount = '0.00',
  10. String currency = 'USD',
  11. void onResult(
    1. dynamic result
    )?,
  12. Future<void> onPay()?,
  13. bool showNativePay = true,
  14. ButtonStyle? buttonStyle,
})

Implementation

const LearmondPayButtons({
  super.key,
  this.apiKey,
  this.appleMerchantId,
  this.merchantArgs,
  this.merchantName,
  this.merchantInfo,
  this.summaryItems,
  this.googleMerchantId,
  this.amount = '0.00',
  this.currency = 'USD',
  this.onResult,
  this.onPay,
  this.showNativePay = true,
  this.buttonStyle,
});