TreeViewStateHelper<Data> class

Constructors

TreeViewStateHelper({required AnimatedListStateController<Data> animatedListStateController, required TreeViewExpansionBehaviourController<Data> expansionBehaviourController, required ITreeNode<Data> tree, bool focusToNewNode = true})

Properties

animatedListStateController AnimatedListStateController<Data>
final
expansionBehaviourController TreeViewExpansionBehaviourController<Data>
final
focusToNewNode bool
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tree ITreeNode<Data>
final

Methods

computeActualIndex(int targetIndex, int parentNodeLevel) int
dispose() Future<void>
handleAddItemsEvent(NodeAddEvent<INode> event) → void
handleInsertItemsEvent(NodeInsertEvent<INode> event) → void
handleRemoveItemsEvent(NodeRemoveEvent<INode> event) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

TAG → const String