TreeNode class Null safety

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
read / write
builder WidgetBuilder?
read / write
children List<TreeNode>?
read / write
depth int
read-only
hashCode int
The hash code for this object.
read-onlyinherited
leaves List<TreeNode>
read-only
left double
read / write
margin EdgeInsets
read / write
options TreeNodeOptions?
read / write
padding EdgeInsets
read / write
parent TreeNode?
read / write
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
top double
read / write
value num
read / write

Methods

eachBefore(dynamic callback(TreeNode)) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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