1. 04 Mar, 2017 1 commit
  2. 17 Feb, 2017 2 commits
    • 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
    • Adam Barth's avatar
      Remove Scrollable1 (#8225) · 90574b04
      Adam Barth authored
      All the clients have migrated to Scrollable2.
      90574b04
  3. 15 Feb, 2017 2 commits
  4. 09 Feb, 2017 2 commits
    • Adam Barth's avatar
      Remove ScrollableGrid (#8020) · 3ca92161
      Adam Barth authored
      All the clients have migrated to GridView.  Also, remove RenderGrid,
      which isn't needed by GridView.
      3ca92161
    • 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
  5. 08 Feb, 2017 2 commits
  6. 07 Feb, 2017 2 commits
    • 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
  7. 04 Feb, 2017 1 commit
    • Adam Barth's avatar
      Scrollable2.ensureVisible for box-based viewports (#7868) · 7fea0593
      Adam Barth authored
      This patch makes Scrollable2.ensureVisible with SingleChildScrollView. A future
      patch will extend the implementation to work with slivers. (Although the patch
      does include some of the infrastructure for that part of the implementation as
      well.)
      7fea0593
  8. 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
  9. 02 Feb, 2017 2 commits
  10. 01 Feb, 2017 1 commit
  11. 27 Jan, 2017 1 commit
  12. 25 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add a sliver-based ScrollView (#7627) · eba5fb1a
      Adam Barth authored
      This patch introduces ScrollView, which is a convenience widget for using a
      SliverBlock. This patch also switches a number of tests from Block to
      ScrollView. Once we support more features of block (e.g., padding and
      shrinkwrapping), we'll be able to move over more clients.
      eba5fb1a
  13. 24 Jan, 2017 1 commit
    • Adam Barth's avatar
      Add SingleChildScrollView (#7620) · 559621ca
      Adam Barth authored
      This widget is a replacement for ScrollableViewport that uses the new
      Scrollable2 machinery. The widget is not based on Slivers but does use the new
      scroll behavior classes.
      559621ca
  14. 23 Jan, 2017 1 commit
  15. 21 Jan, 2017 1 commit
  16. 19 Nov, 2016 1 commit
  17. 03 Nov, 2016 1 commit
  18. 01 Nov, 2016 1 commit
  19. 24 Oct, 2016 2 commits
  20. 21 Oct, 2016 1 commit
  21. 19 Oct, 2016 1 commit
  22. 17 Oct, 2016 1 commit
    • Adam Barth's avatar
      Add BuildContext.size as a convenience getter (#6355) · 63e7a0e8
      Adam Barth authored
      Developers need to get the size of the BuildContext sufficiently often
      that we should provide a convenient getter for the value. Having this
      getter is also an opportunity to catch common mistakes and provide
      useful error messages that guide developers towards better patterns.
      
      Fixes #2321
      63e7a0e8
  23. 14 Oct, 2016 1 commit
  24. 26 Sep, 2016 1 commit
    • Ian Hickson's avatar
      Turn off AnimationControllers when not in use (#5902) · 9e673853
      Ian Hickson authored
      This requires all AnimationController objects to be given a
      TickerProvider, a class that can create the Ticker.
      
      It also provides some nice mixins for people who want to have their
      State provide a TickerProvider. And a schedulerTickerProvider for those
      cases where you just want to see your battery burn.
      
      Also, we now enforce destruction order for elements.
      9e673853
  25. 22 Sep, 2016 1 commit
  26. 21 Sep, 2016 1 commit
  27. 16 Sep, 2016 1 commit
  28. 14 Sep, 2016 3 commits
  29. 12 Sep, 2016 1 commit