• Adam Barth's avatar
    Shift more code to ScrollPosition (#9637) · 4bac2596
    Adam Barth authored
    Previously, ScrollPosition did not know about ScrollActivities. However, all
    the concrete subclasses of ScrollPosition that we know about need to use
    ScrollActivities, so they ended up with a bunch of delegate boilerplate code.
    
    This patch teaches ScrollPosition about ScrollActivities but doesn't have any
    opinion about how to start or interact with those activities.
    
    This patch is more refactoring to prepare for nested and linked scrolling.
    4bac2596
scroll_controller.dart 6.68 KB