InFlightSwapsSection class
The durable SWAP HOME (W-swap-5, #366): every swap whose order was registered at execute and has neither been dismissed nor self-lapsed — listed from the wallet's own encrypted store, so it SURVIVES a process kill, screen re-entry, and session swaps. Pre-#366 an executed swap's only UI trace was in-memory: kill→relaunch mid-armed-window left a live OutOfZec deposit visible NOWHERE while the one-swap-in-flight guard refused new swaps. Each row carries a direction-honest line, its start time, and "View swap" — the re-attach affordance that re-opens live tracking by the record's id.
Like the PARKED surface (and unlike the additive in-flight-sends cue), a read failure renders an honest error line, never a silent hide: mid-flight this list is the ONLY wallet-side witness of the swap (an OutOfZec deposit is excluded from the send surfaces by design; an IntoZec swap has no activity trace until delivery). Deliberately NOT gated on the swap kill-switch — a local read is not swap traffic (§3.5); with swap off the row still shows and tapping through renders the honest tracking-unavailable state. §5.4: the record id is render-never-log (and this section never renders it either — direction + time only).
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- InFlightSwapsSection
Constructors
- InFlightSwapsSection({Key? key})
-
const
Properties
Methods
-
build(
BuildContext context, WidgetRef ref) → Widget - Describes the part of the user interface represented by this widget.
-
createElement(
) → ConsumerStatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → _ConsumerState -
Creates the mutable state for this widget at a given 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