LearmondPayButtons constructor
const
LearmondPayButtons({
- Key? key,
- String? apiKey,
- String? appleMerchantId,
- Map<
String, dynamic> ? merchantArgs, - String? merchantName,
- String? merchantInfo,
- List<
SummaryLineItem> ? summaryItems, - String? googleMerchantId,
- String amount = '0.00',
- String currency = 'USD',
- void onResult(
- dynamic result
- Future<
void> onPay()?, - bool showNativePay = true,
- 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,
});