baumths / flutter_tree_view

A Flutter collection of widgets and slivers that helps bringing your hierarchical data to life.
https://baumths.github.io/flutter_tree_view
MIT License
182 stars 70 forks source link

how to collapse all the children if parent collapse #57

Closed Kushwaha2021 closed 1 year ago

baumths commented 1 year ago

Hey, sorry for the delay, I've been very busy lately.

This can be accomplished by calling treeController.collapseCascading(parent).

The "cascading" methods apply an action to the given node and all its descendants as of TreeController.childrenProvider.

Kushwaha2021 commented 1 year ago

thanks for your response