WalletActivityState class
The activity list's accumulating state (FR-1 keyset pagination). Holds the rows fetched so far and the OPAQUE cursor to continue (nextCursor non-null ⇔ more rows may follow). Rust stays the source of truth — this is ephemeral presentation state (the visible window of the history), never a Dart cache of authoritative data (design invariant 1).
Constructors
-
WalletActivityState({List<
TxSummary> rows = const [], String? nextCursor, WalletActivityPhase phase = WalletActivityPhase.loading}) -
const
Properties
- canLoadMore → bool
-
Whether a "load more" affordance should show — there is a next page AND we
are not already fetching it.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextCursor → String?
-
The opaque keyset cursor for the next page;
null⇒ the last page (no more).final - phase → WalletActivityPhase
-
final
-
rows
→ List<
TxSummary> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{List< TxSummary> ? rows, String? nextCursor()?, WalletActivityPhase? phase}) → WalletActivityState -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited