flutter_refresh progress
A new Flutter application.
基于 refreshIndicate改造
使用:注意事项和官方一样,比如onrefresh要返回future; child:必须为scrollable
RefreshLayout(
//是否滑倒底部加载
canloading: canloading,
onRefresh: (refresh) {
//true:下拉刷新 false:上拉加载
},
child: new ListView(children: _listBuilder(_counter) ,)))
progress使用
## 大小确定 radius=(宽度-gap*(count+1))/(2*count) gap=radius/2
const MyProgress({@required this.size, this.milliseconds: 300, this.color: Colors
.green, this.count: 4});
child: new MyProgress(size: new Size(100.0, 20.0))

