Typedefs
BindLoadIndicator (FinishLoad finishLoad , VoidCallback resetLoadState )
→ void
绑定加载指示剂
BindRefreshIndicator (FinishRefresh finishRefresh , VoidCallback resetRefreshState )
→ void
绑定刷新指示剂
EasyRefreshChildBuilder (BuildContext context , ScrollPhysics physics , )
→ Widget
子组件构造器
FinishLoad ({bool success , bool noMore } )
→ void
结束加载
success 为是否成功(为false时,noMore无效)
noMore 为是否有更多数据
FinishRefresh ({bool success , bool noMore } )
→ void
结束刷新
success 为是否成功(为false时,noMore无效)
noMore 为是否有更多数据
LoadControlBuilder (BuildContext context , LoadMode loadState , double pulledExtent , double loadTriggerPullDistance , double loadIndicatorExtent , AxisDirection axisDirection , bool float , Duration ? completeDuration , bool enableInfiniteLoad , bool success , bool noMore )
→ Widget
Signature for a builder that can create a different widget to show in the
refresh indicator space depending on the current state of the refresh
control and the space available. [...]
OnLoadCallback ()
→ Future <void >
A callback function that's invoked when the EasyRefreshSliverLoadControl is
pulled a loadTriggerPullDistance
. Must return a Future . Upon
completion of the Future , the EasyRefreshSliverLoadControl enters the
LoadMode.done state and will start to go away.
OnRefreshCallback ()
→ Future <void >
A callback function that's invoked when the EasyRefreshSliverRefreshControl is
pulled a refreshTriggerPullDistance
. Must return a Future . Upon
completion of the Future , the EasyRefreshSliverRefreshControl enters the
RefreshMode.done state and will start to go away.
RefreshControlBuilder (BuildContext context , RefreshMode refreshState , double pulledExtent , double refreshTriggerPullDistance , double refreshIndicatorExtent , AxisDirection axisDirection , bool float , Duration ? completeDuration , bool enableInfiniteRefresh , bool success , bool noMore )
→ Widget
Signature for a builder that can create a different widget to show in the
refresh indicator space depending on the current state of the refresh
control and the space available. [...]
flutter_easyrefresh
2.2.1