1. 08 Dec, 2015 6 commits
    • Ian Hickson's avatar
      Merge pull request #781 from Hixie/box_decoration · 2a69a981
      Ian Hickson authored
      Make BoxDecoration replaceable.
      2a69a981
    • Ian Hickson's avatar
      Make BoxDecoration replaceable. · 2afa87df
      Ian Hickson authored
      Factor out a reusable interface called Decoration from BoxDecoration.
      
      Make all the consumers of BoxDecoration and the erstwhile BoxPainter
      into consumers of Decoration.
      
      Make a BoxPainter be something you get from a Decoration, rather than
      something to which you pass a BoxDecoration.
      
      Rename Shape to BoxShape now that it's documented specifically as
      applying to boxes.
      
      Move EdgeDims to its own file.
      
      Move FractionalOffset up so that it's with the other helper classes in
      its file rather than alone at the end.
      
      Minor change to RenderClipOval's hit testing to avoid taking an
      unnecessary square root.
      
      Rename BoxDecorationPosition to DecorationPosition since
      RenderDecoratedBox now takes any Decoration.
      
      Implement hit testing for rounded rects.
      
      Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make
      it support lerping across any Decoration (by deferring to the objects
      involved).
      2afa87df
    • Jason Simmons's avatar
      Merge pull request #788 from jason-simmons/platform_locale · 0fe72b17
      Jason Simmons authored
      Add a LocaleQuery widget that can be used to fetch locale-specific data
      0fe72b17
    • Jason Simmons's avatar
      Add a LocaleQuery widget that can be used to fetch locale-specific data · 9693cd55
      Jason Simmons authored
      Users of MaterialApp can provide an onLocaleChanged handler that will be
      called to asynchronously fetch locale-specific data.  MaterialApp will
      then instantiate a LocaleQuery that supplies the locale data to its
      descendants.
      9693cd55
    • Adam Barth's avatar
      Merge pull request #803 from abarth/dropdown · 8dd8c203
      Adam Barth authored
      Material gallery crashes when you press the drop-down button
      8dd8c203
    • Adam Barth's avatar
      Material gallery crashes when you press the drop-down button · 4982c553
      Adam Barth authored
      Now use use the route's getPosition function to position the drop-down menu.
      Also, fix a number of other related bugs that blocked the dropdown button from
      working correctly. The dropdown menu still has the following issues:
      
      1) In the exit animation, the background of the menu disappears too quickly
         because of incorrect paint bounds computations in the layer tree.
      2) The drop down menu isn't positioned correctly after the device rotates.
         We'll need to address this issue in a separate patch.
      
      Fixes #630
      4982c553
  2. 07 Dec, 2015 30 commits
  3. 05 Dec, 2015 4 commits