mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
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.)