Clarify documentation for DragAnchorStrategy.#79160
Clarify documentation for DragAnchorStrategy.#79160fluttergithubbot merged 1 commit intoflutter:masterfrom
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
chunhtai
left a comment
There was a problem hiding this comment.
LGTM, except test failure
|
Weird, the same API in LongPressDraggable wasn't deprecated. Was that intentional? I've updated the PR to deprecate the API there too, and updated the example accordingly. |
The intention is to do that in a separate pr. I wonder if @prosac has one in progress? Since you already include in this PR, I think we should just merge this |
chunhtai
left a comment
There was a problem hiding this comment.
We should have a test for LongPressDraggable
There was a problem hiding this comment.
We may need a test for this. Since Draggable already has test coverage, We can probably just create the LongPressDraggable with dragAnchorStrategy and make sure the same callback is passed into Draggable
|
Is there more to it than I think? The change to do that was basically 5 lines as far as I can tell. |
No I think this is it. |
|
Hi @Hixie are you still working on this PR? |
|
Yeah, though feel free to take it if you want to run with it. |
|
Added a test as suggested. |
|
hi! i during the weekend i planned to implement the change for |
|
i will continue implementing the |
|
wow. was too tired to check out the code yesterday. all done 🥇 . thank you @Hixie ! |
|
you're welcome :-) |
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.