CrossmintWalletControllerConfig class final

Configuration for CrossmintWalletController.

Pass createOnLogin to have the controller create (or load) a wallet automatically when a session becomes available. Set showOtpSignerPrompt to false if you want to drive OTP prompts entirely from your own UI (the controller still exposes the OTP controller via CrossmintWalletController.otp).

Constructors

CrossmintWalletControllerConfig({CrossmintCreateOnLoginConfig? createOnLogin, bool showOtpSignerPrompt = true, CrossmintWalletLifecycleCallbacks? callbacks, DeviceSignerKeyStorage? deviceSignerKeyStorage})
Creates a controller config. All fields are optional.
const

Properties

callbacks → CrossmintWalletLifecycleCallbacks?
Optional lifecycle hooks — see CrossmintWalletLifecycleCallbacks.
final
createOnLogin → CrossmintCreateOnLoginConfig?
When set, the controller automatically creates (or loads) a wallet on the given chain once the user is authenticated. Fill recovery with the recovery signer config (e.g. CrossmintEmailSignerConfig()).
final
deviceSignerKeyStorage → DeviceSignerKeyStorage?
Storage adapter used to persist device-signer keys. Defaults to a secure-enclave / keystore-backed implementation on device.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showOtpSignerPrompt → bool
Whether the SDK should surface the default OTP prompt automatically. Set to false to drive OTP UI yourself by listening to CrossmintWalletController.otp.
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