• 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
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
travis Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...