1. 09 Jan, 2018 1 commit
  2. 23 Nov, 2017 1 commit
  3. 27 Sep, 2017 1 commit
  4. 12 Sep, 2017 1 commit
  5. 08 Sep, 2017 1 commit
  6. 03 Aug, 2017 1 commit
  7. 28 Jul, 2017 1 commit
  8. 25 Jul, 2017 1 commit
  9. 21 Jul, 2017 1 commit
    • Ian Hickson's avatar
      Add documentation and clean up code. (#11330) · 8f56f6fd
      Ian Hickson authored
      Mainly, this adds documentation to members that were previously
      lacking documentation.
      
      It also adds a big block of documentation about improving performance
      of widgets.
      
      This also removes some references to package:collection and adds
      global setEquals and listEquals methods in foundation that we can use.
      (setEquals in particular should be much faster than the
      package:collection equivalent, though both should be faster as they
      avoid allocating new objects.) All remaining references now qualify
      the import so we know what our remaining dependencies are.
      
      Also lots of code reordering in Flutter driver to make the code
      consistent and apply the style guide more thoroughly.
      8f56f6fd
  10. 19 Jul, 2017 1 commit
  11. 08 Jun, 2017 1 commit
  12. 05 May, 2017 2 commits
  13. 03 May, 2017 1 commit
  14. 02 May, 2017 3 commits
    • Ian Hickson's avatar
      Tapping a ScrollView during overscroll got it stuck. (#9721) · f64bfba8
      Ian Hickson authored
      Fixes https://github.com/flutter/flutter/issues/8476
      
      More detailed list of changes in this patch:
      
      * Replaced the didTouch special logic with more generic logic that
        uses Activities instead. Now instead when you tap down the
        Scrollable calls `hold()` which begins a HoldScrollActivity which is
        a hybrid of DragStartDetails and IdleScrollActivity and can be
        canceled. When you let go, it gets canceled and that goes ballistic.
      
      * Make DragGestureRecognizer more aggressive about grabbing pointers,
        otherwise a second pointer in a situation with competing horizontal
        and vertical recognizers always gets taken by the other one.
      
      * Fixed the _GestureSemantics widget to call the "down" callbacks so
        that it follows the same pattern as "real" interactions.
      
      * Added tests for the above.
      
      * Added a hashCode to ScrollActivity.toString (and subclasses).
      
      * Added a toString to ScrollDragController, and include it in
        DragScrollActivity's toString.
      
      * s/coorindator/coordinator/
      
      * Add a comment in DragStartDetails to distinguish it from the
        otherwise identical DragDownDetails, so we're not tempted to merge
        them.
      f64bfba8
    • Adam Barth's avatar
      Add more docs about scrolling (#9711) · 49d32d35
      Adam Barth authored
      49d32d35
    • Adam Barth's avatar
      Document ScrollController (#9705) · ff8609f2
      Adam Barth authored
      ff8609f2
  15. 25 Apr, 2017 1 commit
  16. 23 Apr, 2017 1 commit
  17. 12 Apr, 2017 1 commit
  18. 11 Apr, 2017 1 commit
    • xster's avatar
      Rename State.config to widget everywhere (#9273) · 89a7fdfc
      xster authored
      Rename State.config to State.widget
      Rename State.didUpdateConfig to State.didUpdateWidget
      Renamed all State subclasses' local variables named config to something else
      89a7fdfc
  19. 21 Mar, 2017 1 commit
  20. 14 Mar, 2017 1 commit
  21. 04 Mar, 2017 1 commit
  22. 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
  23. 15 Feb, 2017 2 commits
  24. 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
  25. 08 Feb, 2017 2 commits
  26. 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
  27. 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
  28. 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
  29. 02 Feb, 2017 2 commits