aagarwal1012 / Liquid-Pull-To-Refresh

🔁 A custom refresh indicator for flutter.
https://pub.dev/packages/liquid_pull_to_refresh
MIT License
1.24k stars 93 forks source link

Temporarily disable pull to refresh #70

Open repetix opened 1 year ago

repetix commented 1 year ago

I have a situation where I need to temporarily disable the pull to refresh feature. Is there any way to do this programmatically with state (using GetX for my project so it is stateless and I would use obx observable for this). How would you suggest I do this without forking your project? Thanks

repetix commented 11 months ago

Please respond to this! Before, it was just an issue with timing and workflow, but now (since Flutter 3x) the pull to refresh is no longer compatible with ReorderableListView. I can no longer implement both reordering and pull to refresh on the same page, even when using a custom version of ReorderableDragStartListener (which used to work, albeit not as well as it should have). I love your package, but I have to allow customers to reorder items more than refreshing them, so I have to remove the capability until this is resolved. Please let me know when you can get to this or if you have any suggestions on how I can code a workaround.

MHamzaAhmad commented 10 months ago

@aagarwal1012 Can you please assign this to me? I want to work on this.

aagarwal1012 commented 10 months ago

@MHamzaAhmad please go ahead.