• Kate Lovett's avatar
    Keep alive support for 2D scrolling (#131641) · 0c80ed6d
    Kate Lovett authored
    Fixes https://github.com/flutter/flutter/issues/126297
    
    This adds support for keep alive to the 2D scrolling foundation. The TwoDimensionalChildBuilderDelegate and TwoDimensionalChildListDelegate will both add automatic keep alives to their children, matching the convention from SliverChildDelegates. The TwoDimensionalViewportParentData now incorporates keep alive and which is managed by the RenderTwoDimensionalViewport.
    0c80ed6d
two_dimensional_viewport_test.dart 88.8 KB