SplitNode class final

Inheritance

Constructors

SplitNode({required String id, required PanelAxis axis, required List<LayoutNode> children, List<PanelExtent>? sizes})

Properties

axis → PanelAxis
final
children → List<LayoutNode>
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
leaves → Iterable<LeafNode>
Every leaf under this node, in reading order.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizes → List<PanelExtent>
final
tabs → Iterable<PanelTab>
Every tab under this node, in reading order.
no setterinherited

Methods

copyWith({PanelAxis? axis, List<LayoutNode>? children, List<PanelExtent>? sizes}) → SplitNode
find(String nodeId) → LayoutNode?
The node with nodeId under this one, itself included.
override
leafOf(String tabId) → LeafNode?
The leaf holding tabId.
inherited
minAlong(PanelAxis along, double dividerThickness) → double
Along its own axis a split needs every child's minimum plus the dividers; across it, the largest. Fixed extents are not minimums: a fixed child is a preference the solver honours when it can, and only content minimums are hard.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parentOf(String nodeId) → SplitNode?
The split directly above nodeId, or null at the root or when absent.
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override