useBinarySearch property

bool useBinarySearch
finalinherited

Whether TreeViewControllerBase.indexOf should use flutter's binarySearch instead of List.indexOf when looking for the index of a node.

The binary search will compare the TreeNode.id of two nodes. So if you enable this, make sure that TreeNode.id is ASCII formatted.

Implementation

final bool useBinarySearch;