NWallets constructor

const NWallets({
  1. Key? key,
  2. required NdkFlutter ndkFlutter,
  3. String? title,
  4. String? recentActivityTitle,
  5. bool showPendingTransactions = true,
  6. bool showRecentTransactions = true,
  7. bool showAddButtons = true,
  8. bool showWalletActions = true,
  9. VoidCallback? onAddCashu,
  10. VoidCallback? onAddNwc,
  11. VoidCallback? onAddLnurl,
  12. Widget? header,
  13. Widget? headerActions,
  14. EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
  15. double walletCardsHeight = 200,
  16. Axis walletCardsScrollDirection = Axis.horizontal,
  17. double recentTransactionsHeight = 200,
  18. ValueChanged<String>? onWalletSelected,
  19. AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig,
  20. WalletIconConfig? cashuIcon,
  21. WalletIconConfig? nwcIcon,
  22. WalletIconConfig? lnurlIcon,
})

Implementation

const NWallets({
  super.key,
  required this.ndkFlutter,
  this.title,
  this.recentActivityTitle,
  this.showPendingTransactions = true,
  this.showRecentTransactions = true,
  this.showAddButtons = true,
  this.showWalletActions = true,
  this.onAddCashu,
  this.onAddNwc,
  this.onAddLnurl,
  this.header,
  this.headerActions,
  this.padding = const EdgeInsets.all(16.0),
  this.walletCardsHeight = 200,
  this.walletCardsScrollDirection = Axis.horizontal,
  this.recentTransactionsHeight = 200,
  this.onWalletSelected,
  this.albyGoConnectConfig = kDefaultAlbyGoConnectConfig,
  this.cashuIcon,
  this.nwcIcon,
  this.lnurlIcon,
});