美文网首页
Material elevation property

Material elevation property

作者: MaxLeeXYZ | 来源:发表于2019-08-15 09:24 被阅读0次

    elevation property

    阴影的范围,值越大阴影范围越大

    double elevation
    https://material.io/design/environment/elevation.html#

    final

    The z-coordinate at which to place this material relative to its parent.

    This controls the size of the shadow below the material.

    If this is non-zero, the contents of the material are clipped, because the widget conceptually defines an independent printed piece of material.

    Defaults to 0. Changing this value will cause the shadow to animate over animationDuration.

    The value is non-negative.

    Implementation

    final double elevation
    
    

    相关文章

      网友评论

          本文标题:Material elevation property

          本文链接:https://www.haomeiwen.com/subject/sxdajctx.html