- 01 Feb, 2018 1 commit
-
-
Ian Hickson authored
-
- 11 Jan, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 14 Dec, 2017 1 commit
-
-
xster authored
* partial * add doc and warning * add correction * review * fix test
-
- 14 Nov, 2017 1 commit
-
-
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.
-
- 25 Oct, 2017 1 commit
-
-
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.
-
- 06 Oct, 2017 1 commit
-
-
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.
-
- 04 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Make TabBarView/PageView accessible * review fedback
-
- 31 Aug, 2017 1 commit
-
-
Adam Barth authored
This patch includes: * SliverPadding * ScrollView * PageView Fixes #11764 Fixes #11836
-
- 27 Jul, 2017 1 commit
-
-
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.
-
- 06 Jul, 2017 1 commit
-
-
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
-
- 12 Jun, 2017 1 commit
-
-
Hans Muller authored
-
- 09 Jun, 2017 1 commit
-
-
Hans Muller authored
-
- 08 Jun, 2017 1 commit
-
-
Ian Hickson authored
This reverts commit c8e4cbf2.
-
- 06 Jun, 2017 1 commit
-
-
Hans Muller authored
-
- 09 May, 2017 1 commit
-
-
Ian Hickson authored
It wasn't tested, which is why it didn't work before.
-
- 27 Apr, 2017 1 commit
-
-
Ian Hickson authored
backgroundColor -> color backgroundImage -> image BackgroundImage -> DecorationImage
-
- 12 Apr, 2017 1 commit
-
-
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
-
- 05 Apr, 2017 1 commit
-
-
Ian Hickson authored
-
- 15 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Mar, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 Mar, 2017 1 commit
-
-
Luke authored
* clamp the pixels used in the page calculation to be within min + max extents to avoid pages outside of the range of children * add test to check onPageChanged not fired on overscroll
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 03 Mar, 2017 1 commit
-
-
Adam Barth authored
This feature lets you see a portion of the next and previous page in a PageView. Fixes #8408
-
- 21 Feb, 2017 1 commit
-
-
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
-
- 19 Feb, 2017 1 commit
-
-
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
-
- 18 Feb, 2017 1 commit
-
-
Adam Barth authored
Previously, we were dividing by zero. Fixes #8281
-
- 08 Feb, 2017 1 commit
-
-
Adam Barth authored
Tabs are now fully driven by slivers.
-
- 07 Feb, 2017 1 commit
-
-
Adam Barth authored
This patch improves PageView to the point where we can use it in the date picker. Specifically, you now get onPageChanged notifications and you can control which page is visible using a PageController.
-
- 04 Feb, 2017 1 commit
-
-
Adam Barth authored
This patch passes down the viewportMainAxisExtent so that RenderSliverPage can pick it up and size its children appropriately.
-
- 03 Feb, 2017 1 commit
-
-
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.
-