AddCardToWalletButton constructor
const
AddCardToWalletButton({
- Key? key,
- required VoidCallback? onPressed,
- 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,
});