1. 07 Mar, 2019 1 commit
  2. 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
  3. 21 Feb, 2019 1 commit
  4. 09 Jan, 2019 1 commit
  5. 08 Jan, 2019 1 commit
  6. 07 Jan, 2019 1 commit
  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 May, 2018 1 commit
  13. 01 Feb, 2018 1 commit
  14. 11 Jan, 2018 1 commit
  15. 14 Dec, 2017 1 commit
  16. 14 Nov, 2017 1 commit
    • Jeff McGlynn's avatar
      PageView ballistics overshoot the page on some devices (#12884) · 473d75a6
      Jeff McGlynn authored
      * PageView ballistics overshoot the page on some devices
      
      On some devices, such as Cupertino “Plus”-sized devices, scrolling left on the first page of a PageView will overshoot the first page and land on the second page.
      
      The issue is that applyContentDimensions incorrectly detects a content size change due to a floating point comparison on certain screen sizes (18257.400000000005 vs 18257.4)
      
      To fix this, perform a nearEqual comparison in applyContentDimensions.
      
      * Apply style changes to nearEqual for code review feedback.
      473d75a6
  17. 25 Oct, 2017 1 commit
    • Jeff McGlynn's avatar
      Add a pageSnapping parameter to PageView (#12596) · 021a2688
      Jeff McGlynn authored
      * Add a pageSnapping parameter to PageView
      
      Setting the pageSnapping property allows extending the PageView scroll
      behavior, such as custom scroll animations or custom scroll bars.
      
      * Apply pageSnapping CR feedback
      
      - Remove _kNonSnappingPhysics, use null instead.
      - Minor code style fixes.
      - It turns out that the forth state is Arkansas, not California.
      021a2688
  18. 06 Oct, 2017 1 commit
    • Iiro Krankka's avatar
      Change PageController#nextPage & #previousPage methods to return Future when... · 0a85db29
      Iiro Krankka authored
      Change PageController#nextPage & #previousPage methods to return Future when the animation completes. (#12299)
      
      * Changed PageController #nextPage & #previousPage to return a Future after completing.
      
      * Removed false statement about returning a Future in PageController#jumpToPage
      
      * Added tests to make sure nextPage & previousPage return Futures.
      
      * Tested that the Futures returned by nextPage & previousPage actually resolve.
      
      * Renaming *pageCalled to *pageCompleted, since that's what it's actually for.
      0a85db29
  19. 04 Oct, 2017 1 commit
  20. 31 Aug, 2017 1 commit
  21. 27 Jul, 2017 1 commit
    • Ian Hickson's avatar
      Increase the touch slop. (#11419) · 87445e59
      Ian Hickson authored
      It was 8.0. It's now arbitrarily 18.0.
      
      Changing this required adjusting some tests. Adjusting the tests
      required debugging the tests. Debugging the tests required some tools
      to help debugging gesture recognizers and gesture arenas, so I added
      some. It also required updating some toString() methods which resulted
      in some changes to the tree diagnostics logic.
      
      Also I cleaned up some docs while I was at it.
      87445e59
  22. 06 Jul, 2017 1 commit
    • xster's avatar
      Match non-linear overscroll spring to iOS (#11065) · 47c4d64f
      xster authored
      * Make the drag resistance non-linear
      
      * Let the easing of overscroll have a spring effect too
      
      * Add tests and prevent possible drift by having a slightly smaller resistance when easing the overscroll
      
      * lint
      47c4d64f
  23. 12 Jun, 2017 1 commit
  24. 09 Jun, 2017 1 commit
  25. 08 Jun, 2017 1 commit
  26. 06 Jun, 2017 1 commit
  27. 09 May, 2017 1 commit
  28. 27 Apr, 2017 1 commit
  29. 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
  30. 05 Apr, 2017 1 commit
  31. 15 Mar, 2017 1 commit
  32. 13 Mar, 2017 1 commit
  33. 05 Mar, 2017 1 commit
  34. 04 Mar, 2017 1 commit
  35. 03 Mar, 2017 1 commit
  36. 21 Feb, 2017 1 commit
    • Adam Barth's avatar
      Call onPageChanged at the halfway mark (#8302) · 862fc051
      Adam Barth authored
      Previously we called onPageChanged when the scroll ended, but that is too late.
      Now we call onPageChanged when we cross the halfway mark, which, for example,
      makes the tab indicator update earlier.
      
      Fixes #8265
      862fc051
  37. 19 Feb, 2017 1 commit
    • Adam Barth's avatar
      PageView should be able to resize from zero (#8286) · df149c0b
      Adam Barth authored
      When resizing a PageView from 0x0, we weren't sure what the old page
      number was because all the pages are collapsed at zero. Now we avoid the
      divide by zero and default to the initialPage.
      
      Fixes #8285
      df149c0b
  38. 18 Feb, 2017 1 commit
  39. 08 Feb, 2017 1 commit