widgets/wallets/n_add_wallet_dialogs library

Classes

AlbyGoConnectConfig
Configuration for launching the Alby Go NWC connection intent.

Constants

kDefaultAlbyGoConnectConfig → const AlbyGoConnectConfig
Default Alby Go parameters aligned with the sample app's NWC auth flow.

Functions

showAddCashuWalletDialog(BuildContext context, NdkFlutter ndkFlutter, {String defaultMintUrl = _defaultMintUrl, bool returnToWalletType = false, AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig}) Future<CashuWallet?>
Shows a dialog to add a Cashu wallet.
showAddLnurlWalletDialog(BuildContext context, NdkFlutter ndkFlutter, {bool returnToWalletType = false, AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig}) Future<Wallet?>
Shows a dialog to add an LNURL wallet.
showAddNwcWalletDialog(BuildContext context, NdkFlutter ndkFlutter, {int defaultBalance = 10000}) Future<NwcWallet?>
Shows a dialog to add an NWC wallet.
showAddWalletTypeDialog(BuildContext context, NdkFlutter ndkFlutter, {AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig}) Future<bool>
Shows a dialog to choose wallet type (Cashu, NWC, or LNURL).
showNwcConnectionOptionsDialog(BuildContext context, NdkFlutter ndkFlutter, {AlbyGoConnectConfig albyGoConnectConfig = kDefaultAlbyGoConnectConfig}) Future<bool>
Shows a dialog to choose NWC connection method.