• Adam Barth's avatar
    Stocks has both tabs reified in the wiget tree · b5ed355b
    Adam Barth authored
    We were recomputing which widgets to show only when we were on the other side
    of the repaint boundaries. That doesn't work well for pageable lists because we
    come to rest exactly on a repaint boundary, which means we don't cull the other
    page.
    
    After this patch, we recompute the set of widgets using an edge-trigger when we
    hit the boundary. That's better than using a level-trigger so that we don't
    continuously recompute the set of widget as we sit at the boundary.
    b5ed355b
scrollable_grid.dart 4.86 KB