@@ -65,6 +65,7 @@ abstract class TopMeasureItem<T extends MeasureItemFeature>
@override
void switchChild(int index) {
if (index == _childIndex) return;
+ workingChild.finishOnce();
_childIndex = index;
if (workingChild.measuredFeatures.isNotEmpty) {
isNeedRedraw = true;