EasyRefreshController class

EasyRefresh控制器

Constructors

EasyRefreshController()

Properties

finishLoadCallBack FinishLoad?
完成加载
getter/setter pair
finishRefreshCallBack FinishRefresh?
完成刷新
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
resetLoadStateCallBack VoidCallback?
恢复加载状态(用于没有更多后)
getter/setter pair
resetRefreshStateCallBack VoidCallback?
恢复刷新状态(用于没有更多后)
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callLoad({Duration duration = const Duration(milliseconds: 300)}) → void
触发加载
callRefresh({Duration duration = const Duration(milliseconds: 300)}) → void
触发刷新
dispose() → void
finishLoad({bool success = true, bool noMore = false}) → void
finishRefresh({bool success = true, bool noMore = false}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetLoadState() → void
resetRefreshState() → void
toString() String
A string representation of this object.
inherited

Operators

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