LoadMoreStatus enum Null safety

Inheritance

Constructors

LoadMoreStatus()
const

Values

idle → const LoadMoreStatus

空闲中,表示当前等待加载

wait for loading

const LoadMoreStatus(0)
loading → const LoadMoreStatus

刷新中,不应该继续加载,等待future返回

the view is loading

const LoadMoreStatus(1)
fail → const LoadMoreStatus

刷新失败,刷新失败,这时需要点击才能刷新

loading fail, need tap view to loading

const LoadMoreStatus(2)
nomore → const LoadMoreStatus

没有更多,没有更多数据了,这个状态不触发任何条件

not have more data

const LoadMoreStatus(3)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<LoadMoreStatus>
A constant List of the values in this enum, in order of their declaration.
[idle, loading, fail, nomore]