Enable multi select mode
Issue #36
new
currently can only select one node in the tree, it is better to support multi select
/// The key of the select node in the [TreeView].
final String? selectedKey;
TreeViewController({
this.children: const [],
this.selectedKey,
});
Comments (2)
-
-
reporter Thank you for your quick response, I’ll give it a try
- Log in to comment
True but you can easily work around this this wrapping the tree in a stateful widget. You can then use a
List<String>
to store selected nodes and usenodeBuilder
property to build the node with selections based on the keys in your list.I’ve done something similar in an app that I am creating. I can provide and example if you like but it will be later.