Skip to main content
Final Class Pre-built dependency bundle accepted by CrossmintWalletProviderConfig.
final class CrossmintWalletProviderDependencies
Pass a bundle when you already own the client/controller lifecycle (for example, a shared client across multiple provider mount points). If you do not need that, pass a CrossmintClientConfig on the config instead and let the provider build the client for you.

Constructors

CrossmintWalletProviderDependencies

const CrossmintWalletProviderDependencies({
  required this.client,
  required this.walletController,
  this.authCallbackRouter,
})
Creates a dependency bundle.

Properties

client

final CrossmintClient client
An already-initialized client. The provider will not dispose this unless CrossmintWalletProviderConfig.disposeInjectedDependencies is true.

walletController

final CrossmintWalletController walletController
An already-built wallet controller bound to client.

authCallbackRouter

final CrossmintAuthCallbackRouter? authCallbackRouter
Optional pre-built callback router for OAuth deep links.