PeachWalletButton constructor

const PeachWalletButton({
  1. Key? key,
  2. required String clientSecret,
  3. WalletButtonType type = WalletButtonType.expressCheckout,
  4. GooglePayButtonConfig? googlePay,
  5. ValueChanged<PaymentResult>? onResult,
  6. ValueChanged<bool>? onReady,
  7. WalletButtonController? controller,
  8. double? height,
})

Implementation

const PeachWalletButton({
  super.key,
  required this.clientSecret,
  this.type = WalletButtonType.expressCheckout,
  this.googlePay,
  this.onResult,
  this.onReady,
  this.controller,
  this.height,
});