AddCardToWalletButton constructor

const AddCardToWalletButton({
  1. Key? key,
  2. required VoidCallback? onPressed,
  3. BorderRadius? borderRadius,
})

Creates a platform-aware Add to Wallet button.

Automatically chooses the appropriate native button for iOS and Android.

Throws UnsupportedError on unsupported platforms.

Implementation

const AddCardToWalletButton({
  super.key,
  required super.onPressed,
  super.borderRadius,
});