@@ -201,9 +201,15 @@ class MixedViewport extends RenderObjectWrapper {
Widgetwidget=builder(index);
assert(widget!=null);
assert(widget.key!=null);
assert(widget.isFromOldGeneration);
_Keykey=new_Key.fromWidget(widget);
WidgetoldWidget=_childrenByKey[key];
assert(oldWidget!=null);
assert((){
'One of the nodes that was in this MixedViewport was placed in another part of the tree, without the MixedViewport\'s token or builder being changed '+
'and without the MixedViewport\'s MixedViewportLayoutState object being told about that any of the children were invalid.';