NWallets constructor
const
NWallets({
- Key? key,
- required NdkFlutter ndkFlutter,
- String? title,
- String? recentActivityTitle,
- bool showPendingTransactions = true,
- bool showRecentTransactions = true,
- bool showAddButtons = true,
- bool showWalletActions = true,
- VoidCallback? onAddCashu,
- VoidCallback? onAddNwc,
- VoidCallback? onAddLnurl,
- Widget? header,
- Widget? headerActions,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
- double walletCardsHeight = 200,
- Axis walletCardsScrollDirection = Axis.horizontal,
- double recentTransactionsHeight = 200,
- ValueChanged<
String> ? onWalletSelected, - AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig,
- WalletIconConfig? cashuIcon,
- WalletIconConfig? nwcIcon,
- 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,
});