• Adam Barth's avatar
    Give more control to SliverChildDelegate (#7885) · 7f79cced
    Adam Barth authored
    This patch moves the resonsibility for wrapping repaint boundaries
    around children to SliverChildDelegate, which means delegates can choose
    whether or no to use repaint boundaries.
    
    Also introduce SliverChildBuilderDelegate to make it easier to use the
    builder pattern with sliver lists.
    
    This functionality will be used by date picker, which wants to use a
    SliverGrid but doesn't need a repaint boundary around every day in a
    month grid.
    7f79cced
sliver.dart 12.8 KB