TreeViewExpansionBehaviourController<Data> class
Constructors
-
TreeViewExpansionBehaviourController({required AutoScrollController scrollController, required ExpansionBehavior expansionBehavior, required AnimatedListStateController<
Data> animatedListStateController, dynamic onExpandNode(ITreeNode<Data> item)?})
Properties
-
animatedListStateController
→ AnimatedListStateController<
Data> -
final
- expansionBehavior ↔ ExpansionBehavior
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onExpandNode
→ dynamic Function(ITreeNode<
Data> item)? -
final
- 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, [Duration duration = scrollAnimationDuration]) → Future -
scrollToItem(
ITreeNode< Data> item, [Duration duration = scrollAnimationDuration]) → 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