WalletInputScannerConfiguration constructor

const WalletInputScannerConfiguration({
  1. required String supportedInputDescription,
  2. required String connectionSectionTitle,
  3. required List<WalletScannerConnectionOption> connectionOptions,
  4. required ValueListenable<WalletConnectionState> connectionState,
  5. required Future<bool> retryPendingConnection(),
  6. required VoidCallback cancelPendingConnection,
  7. required Future<List<CashuMintSuggestion>> discoverCashuMints(),
  8. required Future<CashuMintSuggestion> enrichCashuMint(
    1. CashuMintSuggestion suggestion
    ),
  9. Future<LnBitsConnectionInput> validateLnBitsConnection(
    1. LnBitsConnectionInput input
    )?,
  10. bool openWalletChooserInitially = false,
  11. bool openCashuMintChooserInitially = false,
})

Implementation

const WalletInputScannerConfiguration({
  required this.supportedInputDescription,
  required this.connectionSectionTitle,
  required this.connectionOptions,
  required this.connectionState,
  required this.retryPendingConnection,
  required this.cancelPendingConnection,
  required this.discoverCashuMints,
  required this.enrichCashuMint,
  this.validateLnBitsConnection,
  this.openWalletChooserInitially = false,
  this.openCashuMintChooserInitially = false,
});