ExpansionBehavior enum
The ExpansionBehavior provides control over the behavior of the node when it is expanded.
Values
- none → const ExpansionBehavior
-
No additional action will be taken on node expansion.
- scrollToLastChild → const ExpansionBehavior
-
The list will be scrolled to the last child of the node if it is not already visible on screen. This ensures that the last child is always visible.
- snapToTop → const ExpansionBehavior
-
The expanded node will be snapped to the top of the list.This ensures that the expanded node is always visible with maximum number of children.
- collapseOthers → const ExpansionBehavior
-
Collapse all other nodes, only the current node will remain expanded. This ensures that only one node is expanded at one time.
- collapseOthersAndSnapToTop → const ExpansionBehavior
-
Collapse all other nodes, only the current node will remain expanded, also snap the node to the top of the list. This ensures that only one node is expanded at one time.
Properties
Methods
-
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
-
values
→ const List<
ExpansionBehavior> - A constant List of the values in this enum, in order of their declaration.