Skip to content
This repository was archived by the owner on Mar 28, 2025. It is now read-only.
This repository was archived by the owner on Mar 28, 2025. It is now read-only.

support for the same node in mutiple places in the tree, please, like directed graph traversal.. #91

@YotamAviv

Description

@YotamAviv

I'm using this tree in a project that allows navigating posts, their authors, comments, authors of the comments, other posts by those folks, etc..., and so it's possible and absoultely expected to be able to navigate to the same post or author through a variety of paths.
When this happens, I suffer the old and familiar, "Multiple widgets used the same GlobalKey." (I can use UniqueKey instances to avoid the errors, but the expansion state of the tiles are tied to the Nodes.)
I looked at the TreeController code, and it looks like it'd be possible to hold the expansion state of tiles not using the Node () but by using the TreeTile Widget instead, and this would support my use cleanly. But it might be more complicated.

I hope that submitting this request here is appropriate. I'm new to open source development in GitHub.
Please let me know if you'd be interested in supporting my use case. I'd be available to help.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions