LearmondCardButton constructor

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

Implementation

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