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