Exemple #1
0
        protected override void removeChildRenderObject(RenderObject child)
        {
            _RenderLayoutBuilder renderObject = this.renderObject;

            D.assert(renderObject.child == child);
            renderObject.child = null;
            D.assert(renderObject == this.renderObject);
        }
Exemple #2
0
        protected override void insertChildRenderObject(RenderObject child, object slot)
        {
            _RenderLayoutBuilder renderObject = this.renderObject;

            D.assert(slot == null);
            D.assert(renderObject.debugValidateChild(child));
            renderObject.child = (RenderBox)child;
            D.assert(renderObject == this.renderObject);
        }