-
Notifications
You must be signed in to change notification settings - Fork 60
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
How can I add nodes and rebuild #46
Comments
Hey @smcdonald45 thank you for using the package! The first thing I see that I must point out is that you are creating a new With the Other than that, the snippet of code that you shared didn't include your Everytime the tree changes in any way that is not a call to a method on Try the above and let me know if it helped!
|
Thx a lot. I will try this out. Im quite new to flutter, dart and bloc but it makes really fun ;D |
Wow, that was easy ;D Thx a lot. Your tree works really great with a really low amont of code!!
|
I try to use your tree using blocs. Is it possible, to rebuild nodes after new children have been added to nodes?
Here is a part of my test code:
After new nodes are found in the repository a new state is emitted which results in rebuild. The new node appears after I toggle state of the parent or click a sibling node. But what must I change for get the new node appearing after rebuild?
I hope it can be done as I do not want to use any other tree..
The text was updated successfully, but these errors were encountered: