PEApplePayButton constructor
const
PEApplePayButton({
- Key? key,
- required PEPaymentRequest paymentRequest,
- double width = double.infinity,
- double height = 36,
- dynamic onPaymentFailed()?,
- VoidCallback? onPaymentSheetDismissed,
- dynamic onTokenDidReturn(
- String,
- dynamic,
- PEApplePayContact?,
- PEApplePayContact?,
Implementation
const PEApplePayButton(
{Key? key,
required this.paymentRequest,
this.width = double.infinity,
this.height = 36,
this.onPaymentFailed,
this.onPaymentSheetDismissed,
this.onTokenDidReturn,
})
: super(key: key);