Is it possible to trigger an action when the slide is scrolled to full extent? (like Gmail)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
The request is about the Slidable widget's swipe-extent behaviour: firing a callback when the drag reaches full extent without dismissing the item. Start from how Slidable exposes its action panes and drag extent, and check whether an existing callback or extent-ratio hook already covers this. Done means a clear answer on whether the behaviour is achievable with the current API, or a proposed API change with maintainer agreement; the thread is a single unanswered question, so expect design discussion first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hello @letsar & guys that want to help!
First, congratulations on developing such a wonderful library of "flutter_slidable", that's exactly what I personally need.
Now, let's go to the question.
Is it possible to configure an action to be automatically triggered when we scroll the slide until the end?
Important Note: I don't want to remove/delete the item that I scrolled, I just wanna trigger an action on the item that I scrolled.
On Gmail for example, if we scroll the slide to the right at full extent, it automatically execute the action to Archive that email message.
https://github.com/letsar/flutter_slidable/assets/7637806/c37a4c53-4862-4399-ad6b-28ac73721284
↑ However, as we can see on the above video, doing that in gmail removes the item that is scrolled and I don't want that. I want the item to remain there visible and execute an action on that item.
How can I do that with the flutter_slidable widget?
Thank you very much for your time and support in case you answer that! 👏
- Ngôn ngữ chính
- Dart
- Star
- 2.9k
- Fork
- 646
- Merge trung bình
- 5 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của letsar/flutter_slidable
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
letsar/flutter_slidable#549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Lock action-pane intent for a continuous drag until neutral settleCó thể đã có người làm @lukemmtt đã nhận 197 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
letsar/flutter_slidable#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
letsar/flutter_slidable#541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Example is not runnable on androidCó thể đã có người làm @akhil-ge0rge đã nhận 353 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 18/100
letsar/flutter_slidable#540 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dismissible pane customizationĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
letsar/flutter_slidable#535 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của letsar/flutter_slidable
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
immich-app/immich#33043 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Notalib/flutter_readium#312 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Flatpack Window Size Gets ResetĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
finamp-app/finamp#1860 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug javascript
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug to check
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày