Describe the bug
The TreeViewItem.from factory constructor that makes a deep copy of itself and its children does not set the parent property of the children properly. This can break things in subtle ways on the tree data before the tree data is passed into the first widget build.
Additional context
I'll open a PR that fixes this.
Describe the bug The
TreeViewItem.from
factory constructor that makes a deep copy of itself and its children does not set the parent property of the children properly. This can break things in subtle ways on the tree data before the tree data is passed into the first widget build.Additional context I'll open a PR that fixes this.