FlexLayoutCache class

Cache for storing computed layout values for an entire flex layout.

FlexLayoutCache manages caching for the complete flex layout operation, including line management, spacing calculations, and line distribution. This cache is reused across layout passes to improve performance. Cache for storing computed flex layout information.

FlexLayoutCache stores the results of flex layout calculations to avoid redundant computations. It maintains information about flex lines, spacing, and layout state that can be reused across layout passes.

Constructors

FlexLayoutCache.new()

Properties

crossEndSpacing double
Spacing after the last line in the cross axis.
getter/setter pair
crossSpacing double
Spacing between lines in the cross axis.
getter/setter pair
crossStartSpacing double
Spacing before the first line in the cross axis.
getter/setter pair
firstLine FlexLineLayoutCache?
The first flex line in the layout.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastLine FlexLineLayoutCache?
The last flex line in the layout.
getter/setter pair
lineCount int
The total number of lines in the layout.
getter/setter pair
paddingBottom double
getter/setter pair
paddingLeft double
getter/setter pair
paddingRight double
getter/setter pair
paddingTop double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allocateNewLine() FlexLineLayoutCache
Allocates and returns a new flex line cache.
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