Skip to content

ListView Drag&Drop Example #13651

@Luk3s

Description

@Luk3s

I struggle to find any example of a Drag&Drop ListView, with the list items being a Row Widget made of at least two other Widgets and one of them inside an Expanded (I can see people having problems with the feedback Widget to keep the same dimension as the child of Draggable). Also having the other list items moving up or down while one is dragged over would be very helpful. And last, it would be useful to have the list scrolling up and down depending on where the draggable item is dragged.

Something like this https://www.youtube.com/watch?v=tNgevYpyA9E (for the list view only, the video contains some examples for GridView as well)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.f: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions