Enable more asserts when building with virtual viewports

This commit is contained in:
Adam Barth 2016-01-06 16:03:26 -08:00
parent d46f0cebb5
commit 0033a8fcdf

View File

@ -94,8 +94,7 @@ abstract class VirtualViewportElement<T extends VirtualViewport> extends RenderO
assert(startOffsetBase != null);
assert(startOffsetLimit != null);
_updatePaintOffset();
// TODO(abarth): Set building: true here.
BuildableElement.lockState(_materializeChildren);
BuildableElement.lockState(_materializeChildren, building: true);
}
Iterator<Widget> _iterator;