ListSmithController class

A narrow handle for driving a ListSmith.async list from code: a refresh button, a tab re-tap, a re-read after a local write, a logout.

Intent-only by design: it never exposes the pager or its state. For lifecycle notifications use a ListSmithObserver instead. Holds no resources, so there is nothing to dispose.

Constructors

ListSmithController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

invalidate() Future<void>
Re-reads every loaded page in place because what you handed the list changed locally, keeping the user's place whatever the pull is configured to do. Pages report FetchTrigger.invalidated.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refresh() Future<void>
Reloads exactly as a pull would, running the configured Reload (ResetToFirstPage on a NoRefresh list) and reloading the current search while searching.
reset() Future<void>
Starts the list over from its first page, whatever the pull is configured to do: a logout, an account switch, a filter outside search. Page 0 reports FetchTrigger.invalidated.
toString() String
A string representation of this object.
inherited

Operators

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