aagarwal1012 / aagarwal1012/Liquid-Pull-To-Refresh

Temporarily disable pull to refresh

Đang mở
#70 5 bình luận 0 reaction 1 người được giao Được @MHamzaAhmad nhận Xem trên GitHub
Ngôn ngữ chính
Dart
Star
1.3k
Fork
91
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Look at the LiquidPullToRefresh widget's source to see how the refresh gesture is controlled. The user wants to toggle this programmatically, likely via a property like enablePullToRefresh. Check existing state management or callbacks. A solution might involve adding a parameter to the widget and updating the gesture detector logic. Test by integrating the change in a sample Flutter app.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
mobile
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.