PeachWalletButton constructor
const
PeachWalletButton({
- Key? key,
- required String clientSecret,
- WalletButtonType type = WalletButtonType.expressCheckout,
- GooglePayButtonConfig? googlePay,
- ValueChanged<
PaymentResult> ? onResult, - ValueChanged<
bool> ? onReady, - WalletButtonController? controller,
- double? height,
Implementation
const PeachWalletButton({
super.key,
required this.clientSecret,
this.type = WalletButtonType.expressCheckout,
this.googlePay,
this.onResult,
this.onReady,
this.controller,
this.height,
});