Layout class abstract

Abstract base class for layout algorithms.

Layout defines the interface that all layout implementations must follow. Each layout algorithm (like flexbox, grid, etc.) extends this class and implements the specific positioning and sizing logic.

Implementers

Constructors

Layout()
Creates a layout algorithm instance.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
mainAxis LayoutAxis
The primary axis along which this layout arranges children.
no setter
padding EdgeSpacing
The padding applied to the edges of this layout container.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createLayoutHandle(ParentLayout parent) LayoutHandle<Layout>
Creates a layout handle for performing layout operations.
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