EasyRefreshController class Null safety

EasyRefresh控制器

Constructors

EasyRefreshController()

Properties

finishLoadCallBack FinishLoad?
完成加载
read / write
finishRefreshCallBack FinishRefresh?
完成刷新
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
resetLoadStateCallBack VoidCallback?
恢复加载状态(用于没有更多后)
read / write
resetRefreshStateCallBack VoidCallback?
恢复刷新状态(用于没有更多后)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 non-existent 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