1. 29 Oct, 2019 1 commit
    • Pieter van Loon's avatar
      Improved ios 13 scrollbar fidelity (#41799) · 0120c414
      Pieter van Loon authored
      Drag from the right is no more
      Longpress is now only 100ms instead of 500
      Added optional duration field to longpressgesturerecognizer
      Added controller field to material scrollbar api
      Haptic feedback only triggers when scrollbar is fully expanded
      Added haptic feedback when releasing the scrollbar after dragging it
      0120c414
  2. 24 Sep, 2019 1 commit
  3. 20 Aug, 2019 1 commit
  4. 13 Jun, 2019 1 commit
  5. 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
  6. 01 Mar, 2019 1 commit
    • Alexandre Ardhuin's avatar
      Add missing trailing commas (#28673) · 387f8854
      Alexandre Ardhuin authored
      * add trailing commas on list/map/parameters
      
      * add trailing commas on Invocation with nb of arg>1
      
      * add commas for widget containing widgets
      
      * add trailing commas if instantiation contains trailing comma
      
      * revert bad change
      387f8854
  7. 12 Sep, 2018 1 commit
  8. 02 Aug, 2018 1 commit
  9. 27 Jul, 2018 1 commit
  10. 23 Jul, 2018 1 commit
  11. 16 Jul, 2018 2 commits
  12. 04 Jul, 2018 1 commit
  13. 03 May, 2018 1 commit
  14. 22 Dec, 2017 1 commit
    • xster's avatar
      Add Cupertino scrollbar (#13290) · 4fcdb50d
      xster authored
      * Create CupertinoScrollbar
      
      * handle main axis margin
      
      * Adaptive material scrollbar and tests
      
      * Small tweaks
      
      * reapply changes on head
      
      * Docs
      
      * start
      
      * Refactored ScrollbarPainter to be more immutable
      
      * fix tests
      
      * fix bug: one animationcontroller pointed to multiple painters
      
      * some docs tweak
      
      * remove unused import
      
      * review
      
      * review
      
      * add dispose
      4fcdb50d
  15. 21 Dec, 2017 1 commit
  16. 05 Dec, 2017 1 commit
  17. 30 Aug, 2017 1 commit
  18. 03 Jun, 2017 1 commit
  19. 24 May, 2017 1 commit
  20. 26 Apr, 2017 1 commit
  21. 25 Apr, 2017 1 commit
  22. 21 Apr, 2017 1 commit
  23. 12 Apr, 2017 1 commit
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
  24. 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
  25. 14 Mar, 2017 1 commit
  26. 18 Feb, 2017 1 commit
  27. 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
  28. 14 Feb, 2017 2 commits
  29. 03 Feb, 2017 1 commit
    • 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
  30. 26 Jan, 2017 1 commit
  31. 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
  32. 02 Sep, 2016 1 commit
  33. 29 Jul, 2016 1 commit
  34. 26 Jul, 2016 1 commit
  35. 03 May, 2016 1 commit
  36. 08 Apr, 2016 1 commit
  37. 07 Apr, 2016 1 commit