WalletDisplaySyncStatusNotifier class

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → Ref
The Ref associated with this notifier.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ AsyncValue<SyncStatus>
The value currently exposed by this notifier.
getter/setter pairinherited
stateOrNull → AsyncValue<SyncStatus>?
The value currently exposed by this Notifier.
no setterinherited

Methods

build() → AsyncValue<SyncStatus>
Initialize a Notifier.
followRawNow() → void
Drop any pending dwell, mirror the raw provider RIGHT NOW, and stay LIVE for walletTryNowLiveWindow — the user-initiated escape (the sync sheet's "Try now", #399 item 4): after an explicit action the user is watching, so live truth is the only honest feedback in BOTH directions (a successful restart shows its first pass immediately; a failed one visibly returns to the stall) — a dwell-held stale posture there reads as a dead tap (the lesson; review M2). A repeat tap simply restarts the window.
listenSelf(void listener(AsyncValue<SyncStatus>? previous, AsyncValue<SyncStatus> next), {void onError(Object error, StackTrace stackTrace)?}) → RemoveListener
Listens to changes on the value exposed by this provider.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runBuild() → WhenComplete?
Executes Notifier.build.
inherited
stopFollowingRaw() → void
End the post-Try-now live window NOW (idempotent). Called when the sync sheet CLOSES (audit D): the window's whole rationale is "the user is watching their own tap play out", and once the sheet is dismissed nobody is — letting the window run on would spill up to 4s of raw flap onto the badge's now-unblocked liveRegion (a full stall label re-read per blip) and the send screen's pinned queue affordance. Closing it cannot re-create the dead tap the window fixes: the dwell resumes only once the watched surface is gone.
toString() → String
A string representation of this object.
inherited
updateShouldNotify(AsyncValue<SyncStatus> previous, AsyncValue<SyncStatus> next) → bool
A method invoked when the state exposed by this Notifier changes. It compares the previous and new value, and return whether listeners should be notified.
inherited

Operators

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