easy_refresh library

Classes

BallPulseFooter
球脉冲Footer
BallPulseFooterWidget
球脉冲组件
BallPulseFooterWidgetState
BallPulseHeader
球脉冲Header
BallPulseHeaderWidget
球脉冲组件
BallPulseHeaderWidgetState
BezierBounceFooter
BezierBounceFooter
BezierBounceFooterWidget
BezierBounceFooter组件
BezierBounceFooterWidgetState
BezierCircleHeader
弹出圆圈Header
BezierCircleHeaderWidget
弹出小球组件
BezierCircleHeaderWidgetState
BezierHourGlassHeader
BezierHourGlassHeader
BezierHourGlassHeaderWidget
BezierHourGlassHeader组件
BezierHourGlassHeaderWidgetState
CirclePainter
圆面切割
ClassicalFooter
经典Footer
ClassicalFooterWidget
经典Footer组件
ClassicalFooterWidgetState
ClassicalHeader
经典Header
ClassicalHeaderWidget
经典Header组件
ClassicalHeaderWidgetState
CustomFooter
通用Footer构造器
CustomHeader
通用Header
DelayTween
DeliveryHeader
气球快递Header
DeliveryHeaderWidget
气球快递组件
DeliveryHeaderWidgetState
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.
FirstRefreshHeader
首次刷新Header
Header
Header
LinkFooterNotifier
链接通知器
LinkHeader
链接器Header
LinkHeaderNotifier
链接通知器
MaterialFooter
质感设计Footer
MaterialFooterWidget
质感设计Footer组件
MaterialFooterWidgetState
MaterialHeader
质感设计Header
MaterialHeaderWidget
质感设计Header组件
MaterialHeaderWidgetState
NotificationFooter
通知器Footer
NotificationHeader
通知器Header
PhoenixFooter
金色校园Footer
PhoenixFooterWidget
金色校园组件
PhoenixFooterWidgetState
PhoenixHeader
金色校园Header
PhoenixHeaderWidget
金色校园组件
PhoenixHeaderWidgetState
ScrollNotificationInterceptor
滚动通知拦截器(用于拦截其他UI组件的滑动事件)
SpinKitHourGlass
HourGlass 来源于flutter_spinkit
TaskState
任务状态
TaurusFooter
冲上云霄Footer
TaurusFooterWidget
冲上云霄组件
TaurusFooterWidgetState
TaurusHeader
冲上云霄Header
TaurusHeaderWidget
冲上云霄组件
TaurusHeaderWidgetState

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, Widget? header, Widget? footer)
子组件构造器
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.