constrained_layout library

Classes

ConstrainedItem<IdType>
Represents a single item in the ConstrainedLayout, including its unique id, layout constraints, and the widget child that will be positioned.
ConstrainedLayout<IdType extends Object>
A layout widget that arranges its children based on constraints defined for each child within ConstrainedItem. This widget utilizes a custom layout delegate to position each child according to the constraints declared for it.
Constraint
Base class representing a constraint applied to a layout edge.
LayoutOrder
LinkTo<IdType>
A constraint that links an item's edge to the edge of another item within the same layout. The id refers to the other item, and the edge defines which edge of the target item to link to.
LinkToParent
A constraint that links an item's edge to the corresponding edge of its parent render box, aligning the item within the parent's boundary.

Enums

Edge
Enum representing the possible edges of an item in the layout.

Exceptions / Errors

UnresolvedLayoutError