ajilo297 / flutter_tree_view

A Flutter package to create an easily customisable Tree View
MIT License
66 stars 19 forks source link

How can I show the tree expanded by default? #9

Open kmusham opened 4 years ago

kmusham commented 4 years ago

I did not see a property to expand the tree by default. Any suggestions on how to do that with your APIs? Thanks

maciogg commented 4 years ago

Any idea?

yakup2525 commented 2 years ago

You can use startExpanded bool and you can handle it any button or something like that,

TreeView( startExpanded: startExpanded, children: _getChildList(documentList), )