easy_refresh
library
Classes
球脉冲Footer
球脉冲组件
球脉冲Header
球脉冲组件
BezierBounceFooter
BezierBounceFooter组件
弹出圆圈Header
弹出小球组件
BezierHourGlassHeader
BezierHourGlassHeader组件
CirclePainter
圆面切割
经典Footer
经典Footer组件
经典Header
经典Header组件
通用Footer构造器
通用Header
DelayTween
气球快递Header
气球快递组件
EasyRefresh
EasyRefresh
下拉刷新,上拉加载组件
EasyRefreshController
EasyRefresh控制器
EasyRefreshSliverLoadControl
A sliver widget implementing the iOS-style pull to refresh content control.
EasyRefreshSliverRefreshControl
A sliver widget implementing the iOS-style pull to refresh content control.
首次刷新Header
Header
Header
链接通知器
链接器Header
链接通知器
质感设计Footer
质感设计Footer组件
质感设计Header
质感设计Header组件
通知器Footer
通知器Header
金色校园Footer
金色校园组件
金色校园Header
金色校园组件
ScrollNotificationInterceptor
滚动通知拦截器(用于拦截其他UI组件的滑动事件)
SpinKitHourGlass
HourGlass
来源于flutter_spinkit
TaskState
任务状态
冲上云霄Footer
冲上云霄组件
冲上云霄Header
冲上云霄组件
Enums
LoadMode
The current state of the refresh control.
RefreshMode
The current state of the refresh control.
Typedefs
BindLoadIndicator
= void Function(FinishLoad finishLoad , VoidCallback resetLoadState )
绑定加载指示剂
BindRefreshIndicator
= void Function(FinishRefresh finishRefresh , VoidCallback resetRefreshState )
绑定刷新指示剂
EasyRefreshChildBuilder
= Widget Function(BuildContext context , ScrollPhysics physics , )
子组件构造器
FinishLoad
= void Function({bool noMore , bool success })
结束加载
success 为是否成功(为false时,noMore无效)
noMore 为是否有更多数据
FinishRefresh
= void Function({bool noMore , bool success })
结束刷新
success 为是否成功(为false时,noMore无效)
noMore 为是否有更多数据
LoadControlBuilder
= Widget Function(BuildContext context , LoadMode loadState , double pulledExtent , double loadTriggerPullDistance , double loadIndicatorExtent , AxisDirection axisDirection , bool float , Duration ? completeDuration , bool enableInfiniteLoad , bool success , bool noMore )
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 > Function()
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 > Function()
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
= Widget Function(BuildContext context , RefreshMode refreshState , double pulledExtent , double refreshTriggerPullDistance , double refreshIndicatorExtent , AxisDirection axisDirection , bool float , Duration ? completeDuration , bool enableInfiniteRefresh , bool success , bool noMore )
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_evolve 1.1.0