WalletUiConfig class
HOST SEAM (S13 §1a MAJOR): services only the host can perform, which a wallet screen offers when — and only when — the host supplied them.
Supplied by overriding walletUiConfigProvider at the host's
ProviderScope root — the SDK's one precedent for a behavioural host hook
(walletHostTransportProvider), not a widget parameter. The default is an
empty config: no hook, no button. The SDK bundles no plugin for either
(ADR-0531 posture); a host brings its own share sheet and settings opener.
Every call is made from a user's tap and wrapped by callWalletHostHook: a host that throws gets an inline fault, never a crash on a wallet screen.
Constructors
-
WalletUiConfig({Future<
void> onOpenSettings()?}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onOpenSettings
→ Future<
void> Function()? -
Open this app's page in the system settings — offered where the camera
was refused, so the user can grant it (S13 §1.5).
final
-
Open the platform share sheet with
text. The SDK passes an address or a payment URI the user asked to share, and a fixedsubjector none — never an amount, memo or label as the subject (S13 §1a, security LOW).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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