Closed seekcx closed 4 years ago
@seekcx working on it , I'll use similar properties like the RefreshIndicator.
@seekcx I sent some changes to master
could you update your pubspec.yaml
pointing directly to my repo ? Also check this new sample : https://github.com/diegoveloper/flutter_stretchy_header/blob/master/example/lib/main.dart#L246
stretchy_header:
git:
url: https://github.com/diegoveloper/flutter_stretchy_header.git
I tried example and it works.
But when I scroll up, I still trigger onRefresh. I think this is because Line 309 takes the absolute value.
In fact, this has met my needs, but whether it can provide lower-level APIs so that we can use with more third-party refresh widgets.
Thanks again for your work.
Could you add a simple example to reproduce the issue?
On Sat, Mar 28, 2020, 10:44 PM abel notifications@github.com wrote:
I tried example and it works.
But when I scroll up, I still trigger onRefresh. I think this is because Line 309 https://github.com/diegoveloper/flutter_stretchy_header/blob/664897216ce985f5a674baf28fd53cfc472e1e40/lib/stretchy_header.dart#L309 takes the absolute value.
In fact, this has met my needs, but whether it can provide lower-level APIs so that we can use with more third-party refresh widgets.
Thanks again for your work.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/diegoveloper/flutter_stretchy_header/issues/9#issuecomment-605554068, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFL3UGE4LHPFAVJIWEVU4TRJ272RANCNFSM4LVUTCDA .
This problem exists in the example, when I scroll down, it triggers onRefresh.
Oh sorry, you were right! , I fixed the code now. Try using flutter pub upgrade
and try again.
I checked the example just now and this bug has been fixed. thank you.
About providing lower-level APIs. In order for this widget to develop better, we sincerely hope that you can consider it. This issue has been resolved, you can close it.
thanks again.
great! need version uploaded! don't forget this is open an open source project so you can contribute with this and send a Pull request.
Yes, I will study how it works. Because I just learned flutter soon.
Hello, this is a very nice widget, and I am using it in conjunction with the pull down refresh widget. But I don't know how to make them work together, do you have any examples about pull down refresh widget?