Comments (2)
This works! Thank you @baumths
from flutter_tree_view.
Hey @Uche01.
It's totally doable. Provide your root node to TreeController.roots
:
// Instead of
final controller = TreeController(
roots: rootNode.children,
...
);
// Do
final controller = TreeController(
roots: [
rootNode,
],
...
);
Hope it helps!
from flutter_tree_view.
Related Issues (20)
- Incomplete expansion state when expanding too many nodes in `AnimatedTreeView` HOT 6
- Way to restore the state of a `TreeView`? HOT 1
- Feature Request: Add onWillAcceptWithDetail HOT 2
- Thanks
- How in TreeView if I expand one folder and collapse other folder HOT 2
- Duplicated key in scaffold HOT 1
- Show togglable expansion icon on leaf node HOT 1
- Drag and Drop Multiple Nodes HOT 1
- Drag only on selected target HOT 2
- flutter_fancy_tree_view with AlertDialog HOT 3
- Multiple Widgets used the same GlobalKey HOT 5
- support for the same node in mutiple places in the tree, please, like directed graph traversal.. HOT 3
- I am finding it difficult to restore expanded nodes on widget rebuild HOT 5
- MultiColumn TreeView HOT 1
- Callback when TreeNode build has completed? HOT 4
- Using PageStorageKey in TreeView
- How to use with sticky headers?
- Show widget when a node (without children) is expanded
- add new node and drag this new node will error: Multiple widgets used the same GlobalKey
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_tree_view.