LearmondCardButton constructor

const LearmondCardButton({
  1. Key? key,
  2. String? apiKey,
  3. String? clientSecret,
  4. String amount = '0.00',
  5. void onResult(
    1. PaymentResult
    )?,
  6. Future<void> onPay()?,
  7. ButtonStyle? buttonStyle,
  8. String? label,
  9. Map<String, dynamic>? merchantArgs,
  10. String? merchantName,
  11. String? merchantInfo,
  12. List<SummaryLineItem>? summaryItems,
})

Implementation

const LearmondCardButton({
  super.key,
  this.apiKey,
  this.clientSecret,
  this.amount = '0.00',
  this.onResult,
  this.onPay,
  this.buttonStyle,
  this.label,
  this.merchantArgs,
  this.merchantName,
  this.merchantInfo,
  this.summaryItems,
});