clearCache method
Clears all cached layout calculations.
Forces the child to recalculate its layout on the next layout pass. Used when layout-affecting properties change.
Implementation
@override
void clearCache() {
// assert(false, 'Clearing cache on child layout is not supported.');
box.parentData.cache = null;
}