Inconsistent motion behavior

Đang mở
#410 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

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
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
flutter
Lĩnh vực
mobile

Hướng nghiên cứu

The report concerns the start and end panes of the Slidable widget when used with CustomSlidableAction and DismissiblePane, and the motion appears to be ignored on both. Begin by reproducing the report with identical start and end pane content and checking which motion widget is actually applied to each pane. Done means both panes honour the chosen motion, with a test covering each pane. The issue has no comments and no maintainer response, so confirm the scope with a maintainer first.

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

Mô tả

Hello, thanks for a great library.

I'm having an issue when using the CustomSlidableAction to place my own widgets as Slidable content. I'm using the exact same code for both start and end panes, but for some reason the start pane motion behaves differently compared to the end pane. I will add some images to explain:

leftpane

The white area is the Slidable child content, and the blue/pink areas are the start/end panes. Here you can see the startPane behaves like a StretchMotion with the icon being revealed from under Slidable child.

rightpane

On the endPane, you can see that it behaves as a ScrollMotion pane, with the icon being pulled in from "out of the screen".

In both cases, the motion is specified as ScrollMotion (this is what I'm aiming for), and I would mention that no matter what motion I specify, the behavior on both panes does not change.

For some more context, I have only one CustomSlidableAction child in both panes, and I'm implementing the component using DismissiblePane to have a single action on each pane when sliding the whole way ("dismissing").

Please let me know if there's any other info I could provide. Thanks!

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của letsar/flutter_slidable

Tất cả issue của letsar/flutter_slidable

Issue tương tự

Thêm issue về Dart

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.