Layouter class

A class that helps manage the positioning of children as well as providing some vital information obtained during performLayout

Constructors

Layouter({required Size minRectangle, required Size maxRectangle, required BoxConstraints constraints, required List<Size> childrenSizes, required List<ChildrenGeometriesProviderParentData> childrenParentData})
const

Properties

childCount int
final
childrenParentData List<ChildrenGeometriesProviderParentData>
final
childrenSizes List<Size>
final
constraints BoxConstraints
The constraints passed from the parent.
final
hashCode int
The hash code for this object.
no setterinherited
maxRectangle Size
The minimum 2d size of any children.
final
minRectangle Size
The minimum 2d size of any children.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

forEachChild(void callback(BoxConstraints constraints, Size size, OffsetWrapper offset, int childIndex)) → void
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