- 11 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Update Semantics for SingleChildScrollViews * refactor * review feedback * added assert and comments * doc
-
- 05 Oct, 2017 1 commit
-
-
Adam Barth authored
Fixes #11930
-
- 24 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 05 Sep, 2017 1 commit
-
-
Adam Barth authored
Fixes #11855
-
- 31 Aug, 2017 1 commit
-
-
Adam Barth authored
This patch includes: * SliverPadding * ScrollView * PageView Fixes #11764 Fixes #11836
-
- 21 Jul, 2017 1 commit
-
-
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.
-
- 19 Jul, 2017 1 commit
-
-
Michael Goderbauer authored
* a11y: implement new SemanticsAction "showOnScreen" (v2) This action is triggered when the user swipes (in accessibility mode) to the last visible item of a scrollable list to bring that item fully on screen. This requires engine rolled to flutter/engine#3856. I am in the process of adding tests, but I'd like to get early feedback to see if this approach is OK. * fix null check * review comments * review comments * Add test * fix analyzer warning
-
- 02 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
* preview of prefer_asserts_in_initializer_list lint * fix issue
-
- 25 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 23 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* more widget const constructors * prefer const constructors * address review comments
-
- 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
-
- 08 Apr, 2017 1 commit
-
-
Ian Hickson authored
Nobody knew what a Block was.
-
- 04 Apr, 2017 1 commit
-
-
Adam Barth authored
This patch adds docs for many of the sliver widgets.
-
- 17 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Mar, 2017 2 commits
-
-
Chris Bracken authored
Also make locals final where possible. Followup to 52715467.
-
Chris Bracken authored
* Improved defaults for scroll view primary-ness * Vertical scroll views default to primary:true. * Horizontal scroll views default to primary:false. * If a scroll view is primary and it got a non-null inherited primary scroll controller, it introduces a primary scroll controller inherited with a value of null for its descendants. ScrollController now multiplexes writes to all registered positions; reads of position continue to assert that only one position is registered. Reads still require a single position.
-
- 28 Feb, 2017 1 commit
-
-
Chris Bracken authored
-
- 17 Feb, 2017 1 commit
-
-
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.
-
- 16 Feb, 2017 1 commit
-
-
Adam Barth authored
-
- 15 Feb, 2017 1 commit
-
-
Adam Barth authored
We can't read our size in the offset setter because we might be in the middle of layout. This issue also occured with the sliver-based viewport.
-
- 14 Feb, 2017 1 commit
-
-
Adam Barth authored
Also, rename ScrollableMetrics to ScrollMetrics, which follows the naming convention for most of the other classes (e.g., ScrollPosition, ScrollPhysics). Finally, fix a bug whereby SingleChildScrollView could not have a GlobalKey, because, write test, find bug.
-
- 08 Feb, 2017 1 commit
-
-
Adam Barth authored
-
- 07 Feb, 2017 2 commits
-
-
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.
-
Adam Barth authored
There appears to be an issue with children before the center widget. I've filled a bug about that issue and will follow up in a later patch.
-
- 04 Feb, 2017 2 commits
-
-
Ian Hickson authored
This prepares us for a CustomScrollView that takes slivers.
-
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.)
-
- 03 Feb, 2017 1 commit
-
-
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.
-
- 02 Feb, 2017 1 commit
-
-
Ian Hickson authored
-
- 27 Jan, 2017 1 commit
-
-
Adam Barth authored
This structure makes it easier to customize the viewport used in a Scrollable. Now Scrollable2 doesn't commit to using slivers.
-
- 24 Jan, 2017 1 commit
-
-
Adam Barth authored
This widget is a replacement for ScrollableViewport that uses the new Scrollable2 machinery. The widget is not based on Slivers but does use the new scroll behavior classes.
-