TreeNode class

Constructors

TreeNode.leaf({required num value, WidgetBuilder? builder, EdgeInsets margin = const EdgeInsets.all(0), EdgeInsets padding = const EdgeInsets.all(0), TreeNodeOptions? options})
TreeNode.node({required List<TreeNode>? children, WidgetBuilder? builder, EdgeInsets margin = const EdgeInsets.all(0), EdgeInsets padding = const EdgeInsets.all(0), TreeNodeOptions? options})

Properties

bottom double
getter/setter pair
builder WidgetBuilder?
getter/setter pair
children List<TreeNode>?
getter/setter pair
depth int
no setter
hashCode int
The hash code for this object.
no setterinherited
leaves List<TreeNode>
no setter
left double
getter/setter pair
margin EdgeInsets
getter/setter pair
options TreeNodeOptions?
getter/setter pair
padding EdgeInsets
getter/setter pair
parent TreeNode?
getter/setter pair
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
getter/setter pair
value num
getter/setter pair

Methods

eachBefore(dynamic callback(TreeNode)) → dynamic
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