RefreshStatus enum

header state

Constants

canRefresh → const RefreshStatus

Dragged far enough that the onRefresh callback will callback

const RefreshStatus(1)
canTwoLevel → const RefreshStatus

Dragged far enough that the onTwoLevel callback will callback

const RefreshStatus(5)
completed → const RefreshStatus

the indicator refresh completed

const RefreshStatus(3)
failed → const RefreshStatus

the indicator refresh failed

const RefreshStatus(4)
idle → const RefreshStatus

Initial state, when not being overscrolled into, or after the overscroll is canceled or after done and the sliver retracted away.

const RefreshStatus(0)
refreshing → const RefreshStatus

the indicator is refreshing,waiting for the finish callback

const RefreshStatus(2)
twoLevelClosing → const RefreshStatus

indicator is closing twoLevel

const RefreshStatus(8)
twoLeveling → const RefreshStatus

indicator is in twoLevel

const RefreshStatus(7)
twoLevelOpening → const RefreshStatus

indicator is opening twoLevel

const RefreshStatus(6)
values → const List<RefreshStatus>

A constant List of the values in this enum, in order of their declaration.

const List<RefreshStatus>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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