NWalletCard constructor

const NWalletCard({
  1. Key? key,
  2. required Wallet wallet,
  3. required NdkFlutter ndkFlutter,
  4. required bool isSelected,
  5. bool isDefaultForReceiving = false,
  6. bool isDefaultForSending = false,
  7. required VoidCallback onTap,
  8. VoidCallback? onDefaultWalletChanged,
  9. Future<void> onDelete(
    1. BuildContext context,
    2. Wallet wallet
    )?,
  10. double width = 280,
  11. bool showBudgetRenewalDays = false,
  12. WalletIconConfig? cashuIcon,
  13. WalletIconConfig? nwcIcon,
  14. WalletIconConfig? lnurlIcon,
})

Implementation

const NWalletCard({
  super.key,
  required this.wallet,
  required this.ndkFlutter,
  required this.isSelected,
  this.isDefaultForReceiving = false,
  this.isDefaultForSending = false,
  required this.onTap,
  this.onDefaultWalletChanged,
  this.onDelete,
  this.width = 280,
  this.showBudgetRenewalDays = false,
  this.cashuIcon,
  this.nwcIcon,
  this.lnurlIcon,
});