Reputation: 1192
i using flutter_tree for create tree of chackbox in flutter.
I want all children to be checked when I check a parent item, and all children to be unchecked if I uncheck a parent.
The source code on GitHub is: https://github.com/esmaeil-ahmadipour/flutter_chckbox_tree
Upvotes: 0
Views: 659
Reputation: 883
You can try the list_treeview
package, if you don't want to deal with it yourself. It has a selectAllChild()
method.
Upvotes: 1