CrossmintWalletProviderDependencies class final
Pre-built dependency bundle accepted by CrossmintWalletProviderConfig.
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({required CrossmintClient client, required CrossmintWalletController walletController, CrossmintAuthCallbackRouter? authCallbackRouter})
-
Creates a dependency bundle.
const
Properties
- authCallbackRouter → CrossmintAuthCallbackRouter?
-
Optional pre-built callback router for OAuth deep links.
final
- client → CrossmintClient
-
An already-initialized client. The provider will not dispose this
unless CrossmintWalletProviderConfig.disposeInjectedDependencies is
true.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- walletController → CrossmintWalletController
-
An already-built wallet controller bound to client.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited