[ReorderableListView] Update doc with example to make it clear proxyDecorator can be overriden to customise an item when it is being dragged.#91837
[ReorderableListView] Update doc with example to make it clear proxyDecorator can be overriden to customise an item when it is being dragged.#91837darrenaustin merged 6 commits intoflutter:masterfrom TahaTesser:proxy_decorator_doc
proxyDecorator can be overriden to customise an item when it is being dragged.#91837Conversation
|
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. |
|
Fly-by comment: Looks like the doc checker is not happy. |
proxyDecorator can overriden to customise an item when it is being dragged.proxyDecorator can overriden to customise an item when it is being dragged.
HansMuller
left a comment
There was a problem hiding this comment.
Nice example! Just a few suggested tweaks.
examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart
Outdated
Show resolved
Hide resolved
examples/api/lib/material/reorderable_list/reorderable_list_view.1.dart
Outdated
Show resolved
Hide resolved
darrenaustin
left a comment
There was a problem hiding this comment.
Thanks for tackling this @TahaTesser. I echo Hans' comments and suggestions below. Once those are addressed, I think this will be good to go.
HansMuller
left a comment
There was a problem hiding this comment.
One more fixup is needed....
|
@HansMuller |
|
This pull request is not suitable for automatic merging in its current state.
|
…Decorator` can overriden to customise an item when it is being dragged. (flutter#91837)
proxyDecorator can overriden to customise an item when it is being dragged.proxyDecorator can be overriden to customise an item when it is being dragged.
I was looking to add this "new feature" #45799
Turns out, it is already possible to add a custom background when it is being dragged by overriding default
proxyDecoratorThis fixes #45799
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.