WalletActivityController 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
↔ WalletActivityState
-
The value currently exposed by this notifier.
getter/setter pairinherited
-
stateOrNull
→ WalletActivityState?
-
The value currently exposed by this
Notifier.
no setterinherited
Methods
-
build()
→ WalletActivityState
-
Initialize a
Notifier.
-
collapseToFirstPage()
→ Future<void>
-
The ARRIVAL-edge refresh (U1): like refresh but BYPASSES the
deep-page guard — a real incoming payment (rare, user-meaningful; the
caller gates on
newTxCount > 0) is worth collapsing pagination back to
page 1, because the alternative is a deep-paged list that NEVER shows the
new payment (both refresh edges no-op deep-paged, and nothing else
re-reads until a session swap). No-blanking holds: the current rows stay
visible until the fresh page lands.
-
listenSelf(void listener(WalletActivityState? previous, WalletActivityState next), {void onError(Object error, StackTrace stackTrace)?})
→ RemoveListener
-
Listens to changes on the value exposed by this provider.
inherited
-
loadMore()
→ Future<void>
-
Fetch the NEXT keyset page and append it. No-op if there is no next page or
a page is already in flight (the double-tap guard). A fault keeps the rows
we have and returns to
ready so the user can retry (no blanking, no throw).
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh()
→ Future<void>
-
Re-read page 1 in place (the sync-edge refresh — a newly arrived/confirmed
tx). Keeps the CURRENT rows visible until the fresh page lands, so a transient
busy-DB fault never blanks a populated history (last-known-through-error).
-
runBuild()
→ WhenComplete?
-
Executes
Notifier.build.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateShouldNotify(WalletActivityState previous, WalletActivityState 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