scrollToIndex method

Future scrollToIndex(
  1. int index
)

Method for programmatically scrolling to an index in the flat list of the TreeView.

Implementation

Future scrollToIndex(int index) async =>
    _animatedListController.expansionBehaviourController.scrollToIndex(index);