flutter_refresh icon indicating copy to clipboard operation
flutter_refresh copied to clipboard

A Flutter plugin for refreshing every scrollable view by pulling down-up.

Results 8 flutter_refresh issues
Sort by recently updated
recently updated
newest added

I/flutter (10831): Another exception was thrown: A ValueNotifier was used after being disposed. I/flutter (10831): Another exception was thrown: 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4598 pos 14: 'oldChild == null ||...

放开刷新的语言切换的api是什么呢,

如果布局既有listview也有左右滑动(子项SingleChildScrollView)左右滑动时会出现下拉刷新,我是在你的_drag(ScrollNotification)方法里加入了方向判断

上拉加载更多的时候,数据还没有请求成功,底部的那个圈圈指示器就隐藏了,我就以为数据加载成功了,然后一看没有数据,是我用的不对,还是需要设置,怎么设置底部的圈圈指示器一直显示,等数据返回加载了再隐藏

先上图:首先这个是默认的界面,刚初始化,还没刷新的 ![1](https://user-images.githubusercontent.com/7309424/45223482-ebeb7180-b2e9-11e8-9a01-75f63e145e50.jpg) 然后这个是刷新过后的,顶部多了个间距 ![2_](https://user-images.githubusercontent.com/7309424/45223485-ec840800-b2e9-11e8-8bc1-9d480425b667.jpg) 最后这个是我把它往上滑的,顶部那个距离,就多出现了那个刷新时间 ![3](https://user-images.githubusercontent.com/7309424/45223484-ebeb7180-b2e9-11e8-8031-5923d90ff2cb.png) 然后上代码: 两种放child的使用方式我都用过: 1. @override Widget build(BuildContext context) { return Refresh( controller: _refreshController, onHeaderRefresh: () { _loadData(); }, childBuilder: ( _ , {controller, physics}) =>...

这个刷新的指示器可以自定义吗?结束的时候 箭头有点跳跃

比如,刷新时,刷新失败情况展示的布局没有,上拉加载更多时,加载更多失败,没有更多等情况布局也没有,不知道是不是我还没看到。