FlexLineLayoutCache class

Cache for storing computed layout values for a single flex line.

FlexLineLayoutCache manages caching for individual lines within a flex layout. Each line contains multiple children and has its own sizing and alignment calculations. This cache tracks the line's dimensions, flex factors, and child count.

Constructors

FlexLineLayoutCache.new()

Properties

biggestBaseline double
The largest baseline value among children that need baseline alignment.
getter/setter pair
bounds LayoutRect?
The cross axis bounds for this line.
getter/setter pair
crossSize double
The total cross-axis size of this line.
getter/setter pair
debugChildCount int
Returns the number of children in this line for debugging purposes.
no setter
firstChild ChildLayout?
The first child in this line.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
itemCount int
The number of children in this line.
getter/setter pair
lastChild ChildLayout?
The last child in this line.
getter/setter pair
lineIndex int
The index of this line within the layout (0-based).
getter/setter pair
mainSize double
The total main-axis size of this line.
getter/setter pair
mainSpacing double
Spacing between items in the main axis.
getter/setter pair
mainSpacingEnd double
Spacing after the last item in the main axis.
getter/setter pair
mainSpacingStart double
Spacing before the first item in the main axis.
getter/setter pair
nextLine FlexLineLayoutCache?
The next line in the layout.
getter/setter pair
previousLine FlexLineLayoutCache?
The previous line in the layout.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalFlexGrow double
The sum of all flexGrow factors for children in this line.
getter/setter pair
totalShrinkFactor double
The sum of all flexShrink factors for children in this line.
getter/setter pair
usedMainSpacing double
The amount of main-axis spacing used between items in this line.
getter/setter pair

Methods

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