- 20 Apr, 2017 1 commit
-
-
Jason Simmons authored
A change in overflow mode requires calculation of the text size and resetting the overflow shader
-
- 19 Apr, 2017 2 commits
-
-
Jason Simmons authored
Subsequent operations like debugAssertDoesMeetConstraints() may do layout operations that alter _textPainter's state. Fixes https://github.com/flutter/flutter/issues/9372
-
Ian Hickson authored
-
- 12 Apr, 2017 2 commits
-
-
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
-
Ian Hickson authored
* Fix tests to use Ahem, and helpful changes around that - Fix fonts that had metric-specific behaviours. - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed to LiveTestWidgetsFlutterBinding.framePolicy. - LiveTestWidgetsFlutterBinding now defaults to using a frame policy that pumps slightly more frames, to animate the pointer crosshairs. - Added "flutter run --use-test-fonts" to enable Ahem on devices. - Changed how idle() works to be more effective in live mode. - Display the test name in live mode (unless ahem fonts are enabled). - Added a toString to TextSelectionPoint. - Style nit fixes. * Roll engine to get Ahem changes. * Update tests for dartdoc changes. * Fix flutter_tools tests
-
- 08 Apr, 2017 1 commit
-
-
Ian Hickson authored
Nobody knew what a Block was.
-
- 06 Apr, 2017 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/pull/8643 Fixes https://github.com/flutter/flutter/issues/8804 by adding a test to verify that Material elevation changes animate. Also tweak some dartdocs, add some trailing commas, improve some toString output, make the inkwell test agnostic to the PhysicalModel logic, and move the material buttons test to the material test directory.
-
- 02 Apr, 2017 1 commit
-
-
Ian Hickson authored
Fixes https://github.com/flutter/flutter/issues/9031 Also some updates to mock_canvas that were needed to do this.
-
- 28 Mar, 2017 1 commit
-
-
Phil Quitslund authored
* Bump to Dart SDK 1.23.0-dev.10 * allows us to understand flutter usage via telemetry * brings in `@immutable` Fixes: #9042 * completer fix * Update to platform 1.1.1.
-
- 22 Mar, 2017 1 commit
-
-
Hans Muller authored
-
- 21 Mar, 2017 1 commit
-
-
Adam Barth authored
This patch prepares us to remove InputValue in favor of TextEditingValue.
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 17 Feb, 2017 2 commits
-
-
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.
-
Adam Barth authored
All the clients have migrated to Scrollable2.
-
- 14 Feb, 2017 1 commit
-
-
Ian Hickson authored
Since RelativeRect's whole purpose in life is to make work with Stack easier, it's silly that you can't directly use it with Positioned. Also, tests for RelativeRect. And fixes for the bugs that found...
-
- 09 Feb, 2017 3 commits
-
-
Alexandre Ardhuin authored
-
Adam Barth authored
All the clients have migrated to GridView. Also, remove RenderGrid, which isn't needed by GridView.
-
Adam Barth authored
We weren't triggering a relayout when the number of children changed. Fixes #8001
-
- 04 Feb, 2017 2 commits
-
-
Ian Hickson authored
-
Adam Barth authored
This patch passes down the viewportMainAxisExtent so that RenderSliverPage can pick it up and size its children appropriately.
-
- 02 Feb, 2017 1 commit
-
-
Ian Hickson authored
-
- 01 Feb, 2017 2 commits
-
-
Adam Barth authored
-
Ian Hickson authored
-
- 31 Jan, 2017 2 commits
-
-
xster authored
* Print the error message multiple times to avoid overlap with status bar and add paragraph to mock_canvas
-
Adam Barth authored
This patch adds grid supports to slivers and introduces a ScrollGrid convenience class for making the common types of scrollable grids. This patch also deploys ScrollGrid in an example in the Flutter Gallery.
-
- 30 Jan, 2017 1 commit
-
-
Adam Barth authored
Add SliverList A SliverList is a linear layout of box children in a viewport that all have a common, fixed extent along the scroll axis. The layout is similar to a SliverBlock but more efficient.
-
- 28 Jan, 2017 1 commit
-
-
Ian Hickson authored
The needsLayout getter is prone to misuse. See discussion on #3083.
-
- 26 Jan, 2017 1 commit
-
-
Ian Hickson authored
-
- 25 Jan, 2017 4 commits
-
-
Adam Barth authored
When you put a box in a Viewport2, it might paint outside its allocated bounds. This patch teaches Viewport2 to clip when that happens.
-
Ian Hickson authored
-
Adam Barth authored
-
Ian Hickson authored
I plan to use this to implement similar logic in SliverPadding. To make this easier to test I extended the paints matcher to accept a function that takes a canvas. While I was at it I also made it accept a Finder, it'll go and find the render object for you. Also added support for paints..path and fixed some grammar in the error messages. Also improved the docs for debugPaint*.
-
- 24 Jan, 2017 2 commits
-
-
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.
-
Ian Hickson authored
-
- 23 Jan, 2017 2 commits
-
-
Ian Hickson authored
-
Adam Barth authored
Teach `paints` matches about `drawRect` and how to `paintChild`. Also, improve test coverage.
-
- 21 Jan, 2017 2 commits
-
-
Ian Hickson authored
This will make it easier to understand what this file does.
-
Ian Hickson authored
-
- 20 Jan, 2017 1 commit
-
-
Ian Hickson authored
MockCanvas to use it instead. Currently it only supports a very limited set of drawing features, but adding new ones is easy. Once the feature set is more complete, and we've used this a bunch, if it feels right, this API will get promoted to flutter_test.
-