Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: allow items reordering #19

Open
SeriousMonk opened this issue Jun 30, 2023 · 6 comments
Open

Feature Request: allow items reordering #19

SeriousMonk opened this issue Jun 30, 2023 · 6 comments
Labels
enhancement New feature or request

Comments

@SeriousMonk
Copy link

Hi, thank you for this package it's truly amazing!

I would like to suggest a new feature. It would be relly cool if this package could suppport item reorder using drag and drop.
Basically the user should be able to pick up a node of the tree and drag and drop it anywhere else in the tree at the same level.

What I'm suggesting is a behavior similar to this, but adapted to work on a tree structure:
expansion_tiles

There currently is no package that supports item reordering on more than 2 levels, and I believe this package has the structure to support this freature without any crazy work necessary, since it is already based on ReorderableListView.

I created a fork and started working on this, but my skills and understanding of the structure of this package are insuficcient to complete the task.

@jawwad-hassan89 jawwad-hassan89 added the enhancement New feature or request label Jun 30, 2023
@jawwad-hassan89
Copy link
Contributor

This seems like a nice feature to have.
I have had a look at the SliverReoderableList, and it seems that it can be integrated with the AnimatedTreeView. This might take a bit of time to get it right, but it certainly is doable.
Thanks for the suggestion.

@SeriousMonk
Copy link
Author

If it can be of any use for the implementation of some behaviors, the gif was taken from https://pub.dev/packages/drag_and_drop_lists

@RoyGuanyu
Copy link

+1, hope this reordering feature can come out soon.
With this feature, this package will be awesome x 10.

@jawwad-hassan89
Copy link
Contributor

I haven't been able to find time to work on this feature due to my current office work load. I will start some work once I am able to find some time. Thanks for your patience :)

@animator
Copy link

+1

@emmggi
Copy link

emmggi commented Nov 8, 2023

Any news on this? I'd really appreciate this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants