ParentLayout mixin

Interface for parent elements that manage child layout.

ParentLayout defines the contract that layout containers must implement to work with the layout system. It provides access to children, viewport information, and scrolling state.

Mixin applications

Properties

contentSize LayoutSize
The total size of all content within this layout.
no setter
firstLayoutChild ChildLayout?
The first child in the layout tree.
no setter
hashCode int
The hash code for this object.
no setterinherited
lastLayoutChild ChildLayout?
The last child in the layout tree.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollOffsetX double
The current horizontal scroll offset.
no setter
scrollOffsetY double
The current vertical scroll offset.
no setter
textBaseline LayoutTextBaseline?
The text baseline to use for layout calculations.
no setter
textDirection LayoutTextDirection
The text direction for this layout.
no setter
viewportSize LayoutSize
The size of the visible viewport.
no setter

Methods

getFirstDryLayout(LayoutHandle<Layout> layoutHandle) ChildLayout?
Creates a dry layout chain starting from the first child.
getLastDryLayout(LayoutHandle<Layout> layoutHandle) ChildLayout?
Creates a dry layout chain starting from the last child.
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