You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a tree with a checkbox on each of its nodes. My current problem is that the checkbox ui state does not change right after I click the checkbox for that node, but it is then updated correctly when I expand or shrink the tree.
How can I make this work so that when a checkbox os pressed it's UI wii change too on the node?
The text was updated successfully, but these errors were encountered:
Wrap the node widget in a ValueListenableBuilder, and use the node.listenableData as the value to listen. Use node.data to assign or get the data.
The node extends the ValueListenable, so it can be used as a ChangeNotifier or ValueListenable.
I need a tree with a checkbox on each of its nodes. My current problem is that the checkbox ui state does not change right after I click the checkbox for that node, but it is then updated correctly when I expand or shrink the tree.
How can I make this work so that when a checkbox os pressed it's UI wii change too on the node?
The text was updated successfully, but these errors were encountered: