paging_library icon indicating copy to clipboard operation
paging_library copied to clipboard

pullToRefresh not working with paging widget

Open am-singh opened this issue 6 years ago • 2 comments

Is there a convenient way to wrap this inside a SmartRefresher (pull_to_refresh) to enable a pull-to-refresh feature?

I tried wrapping the pagination widget inside a SmartRefresh widget, but it is not recognizing it or working.

am-singh avatar Aug 30 '19 11:08 am-singh

We need to make the state object public, and then add public function to reset the internal item list that we can the call with a GlobalKey. I'm going to see if I can add this functionality in a fork.

hacker1024 avatar Nov 29 '19 06:11 hacker1024

@am-singh Do you want to try this? https://github.com/hacker1024/paging_library/tree/patch-3

hacker1024 avatar Nov 29 '19 07:11 hacker1024