1. 29 May, 2019 1 commit
    • LongCatIsLooong's avatar
      Fix ScrollbarPainter thumbExtent calculation and add padding (#31763) · 22ea031e
      LongCatIsLooong authored
      - Fixed extentInside calculation in ScrollMetrics
      - Added asserts to extentInside getter, as well as ScrollPosition.applyContentDimensions to enforce minScrollExtent <= maxScrollExtent
      - Added padding to ScrollbarPainter, updated implementation. Took care of some edge cases.
      - Changed some scroll bar constants on Cupertino side.
      22ea031e
  2. 12 Sep, 2018 1 commit
  3. 04 May, 2018 1 commit
  4. 09 Nov, 2017 1 commit
  5. 30 Aug, 2017 1 commit
  6. 05 May, 2017 1 commit
  7. 25 Apr, 2017 1 commit
  8. 14 Mar, 2017 1 commit
  9. 13 Mar, 2017 1 commit
  10. 04 Mar, 2017 1 commit
  11. 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
  12. 14 Feb, 2017 1 commit
  13. 09 Feb, 2017 2 commits
  14. 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
  15. 06 Feb, 2017 1 commit
  16. 04 Feb, 2017 1 commit
  17. 03 Feb, 2017 2 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
      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
  18. 02 Feb, 2017 1 commit
  19. 01 Feb, 2017 2 commits
    • Adam Barth's avatar
      Simplify AbsoluteScrollPosition class structure (#7785) · b082b93a
      Adam Barth authored
      Instead of using mixins and subclasses, we now use a `ScrollPhysics` delegate
      to customize the scrolling phyics for Android and iOS. This change will make it
      easier to customize the scroll position for paging.
      b082b93a
    • Adam Barth's avatar
      Remove extraneous uses of scrollableKey from tests (#7775) · 3a43fc88
      Adam Barth authored
      This patch removes unnecessary uses of scrollableKey from tests.
      Scrollable2 will likely use a different mechanism for identifying
      itself, so we want to focus on the uses of scrollableKey that will need
      to be addressed in the new implementation.
      3a43fc88
  20. 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
  21. 27 Jan, 2017 1 commit