refresh_paging_listview
library
Classes
-
BaseRefreshController
-
-
BaseRefreshList
-
-
BaseRefreshListState<T, S extends BaseRefreshList>
-
- 定义了一个泛型类,第一个泛型是列表的数据类型,第二个泛型是继承自BaseRefreshList的类
- 定义了一个RefreshController,用于控制刷新和加载更多
- 定义了一个items列表,用于存放列表数据
- 定义了一个_page变量,用于存放当前页码
- 定义了一个inLoading变量,用于判断是否正在加载数据
- 在initState方法中,调用了refresh方法,用于初始化列表数据
- 定义了一个buildRefreshList方法,用于构建列表,该方法返回一个SmartRefresher组件,该组件包含了列表的刷新和加载更多功能
- 定义了一个itemBuilder方法,用于构建列表的item,该方法返回一个buildListItem方法,该方法需要在子类中实现
- 定义了一个refresh方法,用于刷新列表数据,该方法调用了loadData方法,该方法需要在子类中实现
- 定义了一个loadMore方法,用于加载更多数据,该方法调用了loadData方法,该方法需要在子类中实现
- 定义了一个onDataChanged方法,用于刷新或加载更多数据变更
- 定义了一个buildEmptyView方法,用于构建空数据布局
-
bezier + circle indicator,you can use this directly
-
bezier container,if you need to implements indicator with bezier ,you can use consider about use this
this will add the bezier container effect
-
ChRefreshString
-
Chinese
-
the most common indicator,combine with a text and a icon
-
the most common indicator,combine with a text and a icon
-
a custom Indicator for footer,the usage I have put in CustomHeader,same with that
See also
-
a custom Indicator for header
-
DeRefreshString
-
German
-
EmptyConfig
-
-
-
EnRefreshString
-
English
-
EsRefreshString
-
Spanish
-
FrRefreshString
-
French
-
ItRefreshString
-
Italian
-
JpRefreshString
-
Japanese
-
KrRefreshString
-
Korean
-
enable footer link other footer place outside the viewport
-
enable header link other header place outside the viewport
-
-
LoadIndicator
-
a widget implements pull up load
-
LoadIndicatorState<T extends LoadIndicator>
-
-
LoadingProcessor
-
footer Indicator exposure interface
-
mostly use flutter inner's RefreshIndicator
-
MyRouteObserver<R extends Route>
-
-
NlRefreshString
-
Dutch
-
OverScrollBehavior
-
-
PtRefreshString
-
-
RefreshConfiguration
-
Controls how SmartRefresher widgets behave in a subtree.the usage just like ScrollConfiguration
-
RefreshController
-
A controller controll header and footer state,
it can trigger driving request Refresh ,set the initalRefresh,status if needed
-
RefreshIndicator
-
a widget implements ios pull down refresh effect and Android material RefreshIndicator overScroll effect
-
RefreshIndicatorState<T extends RefreshIndicator>
-
Internal Implementation of Head Indicator
-
RefreshLocalizations
-
Implementation of localized strings for the ClassicHeader,ClassicFooter,TwoLevelHeader
-
RefreshLocalizationsDelegate
-
-
RefreshNotifier<T>
-
-
RefreshPhysics
-
a scrollPhysics for config refresh scroll effect,enable viewport out of edge whatever physics it is
in ClampingScrollPhysics, it doesn't allow to flip out of edge,but in RefreshPhysics,it will allow to do that,
by parent physics passing,it also can attach the different of iOS and Android different scroll effect
it also handles interception scrolling when refreshed, or when the second floor is open and closed.
with SpringDescription passing,you can custom spring back animate,the more paramter can be setting in
RefreshConfiguration
-
RefreshProcessor
-
head Indicator exposure interface
-
RefreshString
-
interface implements different language
-
RouteAwareState<T extends StatefulWidget>
-
-
RuRefreshString
-
Russian
-
SmartRefresher
-
This is the most important component that provides drop-down refresh and up loading.
RefreshController must not be null,Only one controller to one SmartRefresher
-
SmartRefresherState
-
-
SvRefreshString
-
Swedish
-
this header help you implements twoLevel function easyily,
the behaviour just like TaoBao,XieCheng(携程) App TwoLevel
-
UkRefreshString
-
-
QQ ios refresh header effect
-
attach the waterdrop effect to MaterialClassicHeader