CrossmintWalletHost class final

Advanced runtime host that mounts the client/auth/wallet scopes plus the hidden bridge hosts required for signer/export flows.

Prefer CrossmintWalletProvider for the recommended app-facing integration path. This widget remains useful when the host app owns the CrossmintClient and CrossmintWalletController lifecycle directly.

Inheritance

Constructors

CrossmintWalletHost({Key? key, required CrossmintClient client, required CrossmintWalletController walletController, required Widget child, HiddenSignerBridgeRuntimeController? hiddenSignerBridgeController, CrossmintExportSignerBridgeRuntimeController? exportSignerBridgeController, bool offstageHiddenSignerBridge = true, bool offstageExportSignerBridge = true})
Creates a host widget. Pass the client and walletController the host should expose through scopes; optionally override the bridge controllers.
const

Properties

child → Widget
The subtree wrapped by the host.
final
client → CrossmintClient
The owning CrossmintClient.
final
exportSignerBridgeController → CrossmintExportSignerBridgeRuntimeController?
Optional override of the client's default export signer bridge.
final
hashCode → int
The hash code for this object.
no setterinherited
hiddenSignerBridgeController → HiddenSignerBridgeRuntimeController?
Optional override of the client's default hidden signer bridge controller — useful for tests that inject a fake bridge.
final
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
offstageExportSignerBridge → bool
When true (the default) the export signer WebView is hidden the same way as offstageHiddenSignerBridge.
final
offstageHiddenSignerBridge → bool
When true (the default) the hidden signer WebView is hidden via a 1×1 Opacity(0.01) + IgnorePointer wrapper — invisible and non-interactive but still laid out, painted, and composited. It is not wrapped in an Offstage widget (see HiddenSignerBridgeHost for why). Set to false only when debugging the bridge.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
walletController → CrossmintWalletController
The wallet controller the scope exposes via CrossmintWalletContext.
final

Methods

build(BuildContext context) → Widget
Describes the part of the user interface represented by this widget.
override
createElement() → StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() → List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String
Returns a one-line detailed description of the object.
inherited
toStringShort() → String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited