• Adam Barth's avatar
    Improve and document SliverGrid delegate structure (#7884) · 921c0fa5
    Adam Barth authored
    We now create a GridLayout object that memoizes the layout information
    for a given SliverConstraints. This approach is both more efficient
    (because the delegate no longer needs to re-solve its layout for each
    child) and allows for more code sharing between delegates.
    
    The SliverGridRegularTileLayout will also be useful for the date
    picker.
    
    Also, document the grid delegates.
    921c0fa5
sliver_grid.dart 21.3 KB