RefreshMode enum

How refresh rebuilds the list.

Inheritance
Available extensions

Values

firstPage → const RefreshMode

Replaces the whole window with the freshly fetched first page.

allPages → const RefreshMode

Re-fetches as many pages as are loaded (capped by maxRefreshPages), following the new cursors, then swaps atomically. Any failure keeps the old window and reports the error.

mergeHead → const RefreshMode

For feeds: fetches the head page and splices it in front of the items that are already loaded, keeping the tail cursor. When the new page does not overlap with the loaded items there is a gap, so it behaves like firstPage.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<RefreshMode>
A constant List of the values in this enum, in order of their declaration.