LayoutItem class abstract interface

Something a layout algorithm can lay out, position, and allocate space to.

Implementers

Properties

anchor → Anchor
Where this item's area sits relative to position.
no setter
flex → LayoutFlex
How a flex layout shares its leftover main-axis space with this item.
no setter
hashCode → int
The hash code for this object.
no setterinherited
height → double
This item's height.
no setter
position → MVector2
This item's position. Must be mutable for the engine to place.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → Vector2
This item's scale.
no setter
size → Vector2
This item's size.
no setter
width → double
This item's width.
no setter

Methods

layout(LayoutConstraints constraints) → void
Lays this item out under constraints, leaving size reporting the result.
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