1. 24 Sep, 2019 1 commit
  2. 20 Aug, 2019 1 commit
  3. 13 Jun, 2019 1 commit
  4. 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
  5. 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
  6. 12 Sep, 2018 1 commit
  7. 02 Aug, 2018 1 commit
  8. 27 Jul, 2018 1 commit
  9. 23 Jul, 2018 1 commit
  10. 16 Jul, 2018 2 commits
  11. 04 Jul, 2018 1 commit
  12. 03 May, 2018 1 commit
  13. 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
  14. 21 Dec, 2017 1 commit
  15. 05 Dec, 2017 1 commit
  16. 30 Aug, 2017 1 commit
  17. 03 Jun, 2017 1 commit
  18. 24 May, 2017 1 commit
  19. 26 Apr, 2017 1 commit
  20. 25 Apr, 2017 1 commit
  21. 21 Apr, 2017 1 commit
  22. 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
  23. 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
  24. 14 Mar, 2017 1 commit
  25. 18 Feb, 2017 1 commit
  26. 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
  27. 14 Feb, 2017 2 commits
  28. 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
  29. 26 Jan, 2017 1 commit
  30. 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
  31. 02 Sep, 2016 1 commit
  32. 29 Jul, 2016 1 commit
  33. 26 Jul, 2016 1 commit
  34. 03 May, 2016 1 commit
  35. 08 Apr, 2016 1 commit
  36. 07 Apr, 2016 1 commit