SendScreen class
The send screen (inc-2d-ui): form → propose → confirm (de-shield disclosure)
→ send → result, over the inc-2d-ffi bridge. Rendering layer ONLY — every
money step runs through sendControllerProvider; Rust is the single source of
truth (design invariant 1). Reachable only from the active wallet surface, so
a backed-up wallet is the structural precondition (the same money-safety gate
walletSessionProvider enforces).
Stateful so it can (a) hold the form's ephemeral text controllers across the propose round-trip (a fixable fault returns to the form with the typed values intact), and (b) request screenshot/recents protection (ScreenSecurity) for its whole lifetime — the screen shows a recipient address + amounts, sensitive financial data that must not land in the app-switcher snapshot. FLAG_SECURE is Android-only; iOS/desktop rely on the manager-carried native cover (the same honest-degradation as the backup screen).
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SendScreen
Constructors
- SendScreen({Key? key, WalletSendRequest? prefill, WalletSendReporter? reporter})
-
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
- prefill → WalletSendRequest?
-
FR-25 — an optional prefill (from WalletSendEntry.push, via GoRouter
extra).null= the organic empty form. Seeds the (screen-owned) form controllers ininitState;lockRecipientopens the recipient read-only. A prefill is NOT pre-confirmed — the same validate → review → authorize path and the same gating run as an organic send.final - reporter → WalletSendReporter?
-
FR-26 — the one-shot channel WalletSendEntry.push hands in with the
prefill, carrying this flow's report back to the host.
nullfor an organic entry, and for a host that navigated the send path itself: those flows have nobody to report to.final - 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< SendScreen> - 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