• Adam Barth's avatar
    Cleanup how we manage scrollOffset in Scrollable · d3eaff27
    Adam Barth authored
     - Introduce _setScrollOffset as a backend for the animations so that scrollTo
       can stop animations.
    
     - Create a single function that stops both kinds of scroll animations.
    
     - Refactor how we update the bounds for bounded scroll behaviors so that we
       update the bounds and compute the new scroll offset at the same time.
    d3eaff27
scrollable.dart 20.4 KB