scrollToIndex method
Method for programmatically scrolling to an index
in the flat list of the TreeView.
Implementation
Future scrollToIndex(int index,
[Duration duration = scrollAnimationDuration]) async =>
_animatedListController.expansionBehaviourController
.scrollToIndex(index, duration);