allowParentMultiSelection property

  1. @Input()
  2. @override
bool allowParentMultiSelection
getter/setter pair

Whether the widgets supports the selection of non-leaf nodes.

When false, and the widget is using a multi selection model clicking the widget should toggle expansion when a non-leaf node is clicked. When true the widget should select non-leaf nodes when clicked and only toggle expansion when the expansion icon is clicked.

Implementation

@Input()
@override
bool allowParentMultiSelection = true;