TreeNode class
Class for building nodes in a Tree.
- Annotations
Properties
- builder → WidgetBuilder?
-
The child in the node.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
nodes
→ List<
TreeNode> ? -
The children in a node.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleBuilder → WidgetBuilder
-
The widget used in the node tree.
final
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
Static Methods
-
child(
{required WidgetBuilder titleBuilder, required WidgetBuilder builder}) → TreeNode - Creates a node.
-
children(
{required WidgetBuilder titleBuilder, bool hideColumnCollapsedIcon = false, required List< TreeNode> children}) → TreeNode - Creates a node with children.
-
isCollapsed(
BuildContext context) → bool - If this node is collapsed, given a BuildContext.