1. 03 May, 2017 1 commit
  2. 02 May, 2017 2 commits
  3. 27 Apr, 2017 1 commit
    • 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
  4. 25 Apr, 2017 1 commit
  5. 29 Mar, 2017 1 commit
  6. 14 Mar, 2017 1 commit
  7. 02 Mar, 2017 2 commits
    • Chris Bracken's avatar
      Avoid potential ConcurrentModificationError (#8534) · 8916b101
      Chris Bracken authored
      Also make locals final where possible.
      
      Followup to 52715467.
      8916b101
    • Chris Bracken's avatar
      Better defaulting for scroll view primary-ness (#8506) · 52715467
      Chris Bracken authored
      * Improved defaults for scroll view primary-ness
      
      * Vertical scroll views default to primary:true.
      * Horizontal scroll views default to primary:false.
      * If a scroll view is primary and it got a non-null inherited primary
        scroll controller, it introduces a primary scroll controller inherited
        with a value of null for its descendants.
      
      ScrollController now multiplexes writes to all registered positions;
      reads of position continue to assert that only one position is
      registered. Reads still require a single position.
      52715467
  8. 17 Feb, 2017 1 commit
  9. 11 Feb, 2017 1 commit
  10. 09 Feb, 2017 1 commit
    • Ian Hickson's avatar
      Port AppBar to Scrollable2 (#7996) · 83a4cf26
      Ian Hickson authored
      Move the back button and drawer opening logic into the app bar.
      
      Move the tap-status-bar-to-scroll-to-top logic to using
      ScrollControllers. Provide a PrimaryScrollController and a `primary`
      flag on scroll views.
      
      Make it possible to track when a route becomes or stops being poppable.
      83a4cf26
  11. 07 Feb, 2017 3 commits
    • Adam Barth's avatar
      Add PageController (#7948) · 2eb4f2c3
      Adam Barth authored
      This patch improves PageView to the point where we can use it in the date
      picker. Specifically, you now get onPageChanged notifications and you can
      control which page is visible using a PageController.
      2eb4f2c3
    • Adam Barth's avatar
      Add ScrollController.initialScrollOffset (#7916) · 06f879b5
      Adam Barth authored
      Also, move the creation of the ScrollPosition to ScrollController.
      
      Finally, remove TestScrollable in favor of CustomScrollView, which is the
      production version of this widget.
      06f879b5
    • Adam Barth's avatar
      Add ScrollController (#7910) · 7f2dc470
      Adam Barth authored
      If you pass a ScrollController to a Scrollable2, you can use the controller to
      read and write the scroll offset without having to find the Scrollable2State
      object.
      7f2dc470