1. 12 Sep, 2018 1 commit
  2. 24 Aug, 2018 1 commit
  3. 15 Aug, 2018 1 commit
  4. 09 Aug, 2018 1 commit
  5. 02 Aug, 2018 1 commit
  6. 27 Jul, 2018 1 commit
  7. 23 Jul, 2018 1 commit
  8. 16 Jul, 2018 2 commits
  9. 05 Jun, 2018 1 commit
  10. 07 Feb, 2018 3 commits
  11. 01 Feb, 2018 1 commit
  12. 31 Jan, 2018 1 commit
    • amirh's avatar
      Support arbitrary shaped Material. (#14367) · 0672055a
      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.
      Unverified
      0672055a
  13. 30 Jan, 2018 1 commit
  14. 08 Nov, 2017 1 commit
  15. 07 Nov, 2017 1 commit
    • Sebastiano Poggi's avatar
      Surface elevation shadow colour on Material (#12881) · dfd1ffa7
      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
      dfd1ffa7
  16. 05 Sep, 2017 1 commit
  17. 03 May, 2017 1 commit
  18. 27 Apr, 2017 1 commit
  19. 19 Apr, 2017 1 commit
  20. 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
  21. 06 Apr, 2017 1 commit
  22. 13 Mar, 2017 1 commit
  23. 04 Mar, 2017 1 commit
  24. 13 Feb, 2017 1 commit
  25. 08 Aug, 2016 1 commit
    • Dragoș Tiselice's avatar
      Material fixes (#5293) · e1ebc41a
      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.
      e1ebc41a