ExportViewingKeyScreen class

Settings → Security → Export viewing key (#397 §3.7 D5 / ADR-0538): the ONE sanctioned UFVK egress into the UI. Clones the backup screen's gating — the host RE-AUTH gate (WalletRevealAuthorizer), screenshot/recents protection, the shoulder-surf reveal latch with auto-hide on background, and the autoDispose read — because the CONSEQUENCE being confirmed (total history surveillance) deserves the same deliberate bar as the seed, even though a UFVK cannot spend.

DIVERGENCE from the backup screen: a UFVK is PUBLIC once shared, so the artifact IS copyable + QR-able (a seed never is). The D9 warning copy states, in plain words, exactly what sharing this key does — everything received AND sent, past and future, becomes visible; it cannot spend or reach the seed; share only with someone trusted; the only un-share is moving funds to a new wallet.

SOURCE (G1, #361 companion): the provisioner when the package owns provisioning, ELSE the WalletSession port — so a session-only host reaches a WORKING export here instead of the pre-G1 dead end. Only a mount with NEITHER seam renders the honest managed-by-host terminal state. The D9 envelope below (re-auth gate, un-share warning, screen security, autoDispose) is identical on both paths — but the package's DEFAULT reveal authorizer is pass-through, so a host mounting this route owes an override of walletRevealAuthorizerProvider for the gate to mean anything.

Inheritance

Constructors

ExportViewingKeyScreen({Key? key})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createElement() → ConsumerStatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → ConsumerState<ExportViewingKeyScreen>
Creates the mutable state for this widget at a given location in the tree.
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