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() {
(renderBox.parentData as LayoutBoxParentData).cache = null;
}