• Hans Muller's avatar
    Update shadow rendering · d9153a13
    Hans Muller authored
    Shadows now render as three seprate MaskFilter.blur components per the most recent Material spec.
    
    The shadows Map was replaced by a similar Map called elevationToShadow with entries that match the 10 elevations specifed by http://www.google.com/design/spec/what-is-material/elevation-shadows.html.
    
    The "level" property (many classes) is now called "elevation", to match the Material spec.
    
    BoxShadow now includes a spreadRadius parameter - as in CSS box-shadow. Renamed the BoxShadow blur property to blurRadius to further align BoxShadow with CSS box-shadow.
    d9153a13
shadows.dart 4.5 KB