1. 25 May, 2018 1 commit
    • Emmanuel Garcia's avatar
      Fix #16464 · c4d6311a
      Emmanuel Garcia authored
      * Fix #16464: Pass hit test when a big child is inside RenderFittedBox, RenderTransform, RenderFractionalTranslation, or RenderFollowerLayer
      
      * Override `hitTestChildren`
      
      * RenderTransform and RenderFollowerLayer shouldn't check if they are hit
      themselves
      
      * Test the hit test for translated child into translated box
      
      * Add hit test for `FractionalTranslation`
      
      * Don't check if RenderFractionalTranslation is hit themself
      
      * Add hit test for FractionalTranslation
      
      * Add test for FractionalTranslation
      c4d6311a
  2. 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.
      0672055a
  3. 12 Jan, 2018 1 commit