LayoutResult class final

The solved layout of one window: a rectangle for every node, the dividers between them. Splits are in rects too — the drop resolver uses the root's bounds for its edge bands.

Constructors

LayoutResult({required PanelRect bounds, required Map<String, PanelRect> rects, required List<DividerGeometry> dividers})
const

Properties

bounds → PanelRect
final
dividers → List<DividerGeometry>
final
hashCode → int
The hash code for this object.
no setterinherited
rects → Map<String, PanelRect>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

leafAt(LayoutNode? root, double x, double y) → LeafNode?
The leaf under a point, if any.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rectOf(String nodeId) → PanelRect?
toString() → String
A string representation of this object.
inherited

Operators

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