- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 24 Aug, 2018 1 commit
-
-
liyuqian authored
This reverts commit 8de0e15e and updates the goldens versoin. This requires https://github.com/flutter/flutter/pull/20751 to land first.
-
- 15 Aug, 2018 1 commit
-
-
Jonah Williams authored
-
- 09 Aug, 2018 1 commit
-
-
liyuqian authored
This fixes https://github.com/flutter/flutter/issues/18057
-
- 02 Aug, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jul, 2018 1 commit
-
-
Todd Volkert authored
It was causing problems rolling Flutter into Fuchsia
-
- 23 Jul, 2018 1 commit
-
-
Alexandre Ardhuin authored
* re-enable lint unnecessary_const * remove trailling whitespaces * remove unnecessary const (after merge)
-
- 16 Jul, 2018 2 commits
-
-
Ian Hickson authored
This reverts commit cc1cf13e.
-
Alexandre Ardhuin authored
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 07 Feb, 2018 3 commits
-
-
amirh authored
-
Amir Hardon authored
This is done to keep in place the workaround we have for rectangular material where PhysicalModel skips the saveLayer call.
-
Amir Hardon authored
This reverts commit d9ef7df9.
-
- 01 Feb, 2018 1 commit
-
-
amirh authored
0672055a changed the Material widget to always use Paths for representing the outline. These paths are later used for clipping and drawing a shadow. This changed introduced a performance regression, see: https://github.com/flutter/flutter/issues/14403 We did not expect a path that is a rounded rectangle to be less performant than a rounded rectangle, as Skia should be able to tell the path is just a rounded rectangle. Until we find a solution for this regression, we keep using RRect when we can represent the shape with it.
-
- 31 Jan, 2018 1 commit
-
-
amirh authored
For backward compatibility we keep supporting specifying the shape as a combination of MaterialType and borderRadius, and we just use that as a default when shapeBorder is null. To cleanup the implementation if shapeBorder was not specified we just translate the specified shape to a shapeBorder internally. I benchmarked paint, layout and hit testing, with the specialized shape clippers vs. the equivalent path clippers and did not see any significant performance difference. For testing, I extended the clippers/physicalShape matchers to match either the specialized shape or the equivalent shape.
-
- 30 Jan, 2018 1 commit
-
-
amirh authored
-
- 08 Nov, 2017 1 commit
-
-
Yegor authored
-
- 07 Nov, 2017 1 commit
-
-
Sebastiano Poggi authored
* Surface shadowColor from RenderPhysicalModel to Material * Fix typo in material_test * Add nullability info to documentation * Add support for animating elevation shadow color * Add shadowColor to Material's debugFillProperties() * Add missing default value for elevation in Material debugFillProperties() * Add missing non-null asserts for animate flags in AnimatedPhysicalModel * Add test for shadow color animating smoothly
-
- 05 Sep, 2017 1 commit
-
-
Adam Barth authored
Fixes #11855
-
- 03 May, 2017 1 commit
-
-
Jason Simmons authored
Fixes https://github.com/flutter/flutter/issues/9342
-
- 27 Apr, 2017 1 commit
-
-
Ian Hickson authored
backgroundColor -> color backgroundImage -> image BackgroundImage -> DecorationImage
-
- 19 Apr, 2017 1 commit
-
-
Adam Barth authored
Turns out we have many immutable classes. Fixes #6892
-
- 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
-
- 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.
-
- 13 Mar, 2017 1 commit
-
-
Ian Hickson authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
-
- 13 Feb, 2017 1 commit
-
-
Adam Barth authored
When a ListView scrolls, it generates a LayoutChangedNotification, which was causing Material to repaint unconditionally. That's not necessary if there are no ink effects that need to be moved. This patch skips the repaint in that case. Fixes #7937
-
- 08 Aug, 2016 1 commit
-
-
Dragoș Tiselice authored
* Added return value to a onNotification callback. The LayoutChangedNotification callback was missing a return value. This commit changes it to return true and stop notification from bubbling up the tree. * Changed _RenderInkFeatures to use fresh clip box. Since it wasn't using the most current value of the RenderBox's size, _RenderInkFeatures was rendering splashes incorrectly when the underlying Material size was animating. This commit changes the clip reference to use the size of the Renderbox instead of the size method in order to get the newest value.
-