• Hixie's avatar
    Abstract out syncChildren(). · e6f34f86
    Hixie authored
    The core of MultiChildRenderObjectWrapper.syncRenderObject() could
    apply to any subclass that uses a flat child list, so this abstracts
    it out into the superclass.
    
    (Also, instead of requiring the callbacks of RenderBlockViewport to
    constrain their results, we just constrain it for them. Makes things a
    bit easier for users of that class.)
    e6f34f86
block.dart 12.2 KB