TreeViewExpansionBehaviourController<Data> class

Constructors

TreeViewExpansionBehaviourController({required AutoScrollController scrollController, required ExpansionBehavior expansionBehavior, required AnimatedListStateController<Data> animatedListStateController})

Properties

animatedListStateController AnimatedListStateController<Data>
final
expansionBehavior ExpansionBehavior
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController AutoScrollController
final

Methods

applyExpansionBehavior(ITreeNode<Data> item) Future<void>
collapseAllOtherSiblingNodes(ITreeNode<Data> node) Future<void>
collapseNode(ITreeNode<Data> item) Future<void>
expandNode(ITreeNode<Data> item) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollToIndex(int index) Future
scrollToItem(ITreeNode<Data> item) Future
scrollToLastVisibleChild(INode parent) Future<void>
snapToTop(ITreeNode<Data> item, {Duration delay = animationDuration}) Future<void>
toggleExpansion(ITreeNode<Data> item) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited