1. 05 Apr, 2017 1 commit
  2. 04 Apr, 2017 1 commit
  3. 29 Mar, 2017 1 commit
  4. 17 Mar, 2017 2 commits
  5. 14 Mar, 2017 1 commit
  6. 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
  7. 28 Feb, 2017 1 commit
  8. 17 Feb, 2017 1 commit
    • Adam Barth's avatar
      Two becomes one (#8253) · e0b12ca1
      Adam Barth authored
      Rename all the "2" classes related to scrolling to remove the "2". Now that the
      old scrolling code is gone, we don't need to use the suffix.
      e0b12ca1
  9. 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
  10. 07 Feb, 2017 2 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 (#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
  11. 06 Feb, 2017 1 commit
  12. 04 Feb, 2017 3 commits
  13. 03 Feb, 2017 3 commits
    • Adam Barth's avatar
      Reparameterize Scrollable2 (#7853) · 072cce88
      Adam Barth authored
      This patch makes a number of changes to how you can configure a
      Scrollable2:
      
       - The ScrollPhysics is now responsible for creating the ScrollPosition.
         You can override the ScrollPhysics by supplying a `physics` argument
         to `Scrollable`, and the new physics you supply will be applied to
         the default physics inherited from the ScrollBehavior.
      
       - This patch removes the ScrollPosition/AbsoluteScrollPosition split as
         all clients were operating in pixels anyway and the split made the
         code very difficult to follow.
      
       - ScrollPosition no longer depends directly on Scrollable2State.
         Instead, it depends on an abstract interface that Scrollable2State
         implements. This change has two benefits:
      
          a) It removes the circular dependency between ScrollPosition and
             Scrollable2State, which lets us split the code for these classes
             (and several other classes that got wrapped up in that cycle) into
             separate libraries for easier maintenance.
      
          b) ScrollPosition is no longer bound to Scrollable2, which means you
             could use the behavior machinery to drive other sorts of widgets.
             For example, we could use it to drive Scrollabe1 if we wanted.
      072cce88
    • Adam Barth's avatar
      Remove Scrollable2.initialScrollOffset (#7842) · 2ec02c33
      Adam Barth authored
      This property is wired up to anything and it isn't used. We'll need to find a
      better way for clients to control the scroll offset.
      2ec02c33
    • Adam Barth's avatar
      Add PageView (#7809) · 32314657
      Adam Barth authored
      This widget is a start towards replacing PageableList. There are still a number
      of features that we'll need to add before this widget can replace PageableList.
      32314657
  14. 02 Feb, 2017 1 commit
  15. 01 Feb, 2017 3 commits
  16. 31 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add SliverGrid and ScrollGrid (#7745) · 9119969a
      Adam Barth authored
      This patch adds grid supports to slivers and introduces a ScrollGrid
      convenience class for making the common types of scrollable grids.
      
      This patch also deploys ScrollGrid in an example in the Flutter Gallery.
      9119969a
  17. 30 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add SliverList (#7727) · 098af183
      Adam Barth authored
      Add SliverList
      
      A SliverList is a linear layout of box children in a viewport that all
      have a common, fixed extent along the scroll axis. The layout is similar
      to a SliverBlock but more efficient.
      098af183