Commit 0033a8fc authored by Adam Barth's avatar Adam Barth

Enable more asserts when building with virtual viewports

parent d46f0ceb
...@@ -94,8 +94,7 @@ abstract class VirtualViewportElement<T extends VirtualViewport> extends RenderO ...@@ -94,8 +94,7 @@ abstract class VirtualViewportElement<T extends VirtualViewport> extends RenderO
assert(startOffsetBase != null); assert(startOffsetBase != null);
assert(startOffsetLimit != null); assert(startOffsetLimit != null);
_updatePaintOffset(); _updatePaintOffset();
// TODO(abarth): Set building: true here. BuildableElement.lockState(_materializeChildren, building: true);
BuildableElement.lockState(_materializeChildren);
} }
Iterator<Widget> _iterator; Iterator<Widget> _iterator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment