layoutCache property
The cache for storing computed layout results.
Provides access to cached sizes and measurements to avoid redundant calculations.
Implementation
@override
ChildLayoutCache get layoutCache {
assert(
box.parentData.cache != null,
'Layout cache is not set. Did you forget to call setupCache()?',
);
return box.parentData.cache!;
}