iBoxShadow top-level constant

List<BoxShadow> const iBoxShadow

Implementation

const List<BoxShadow> iBoxShadow = <BoxShadow>[
  BoxShadow(
    color: Color.fromRGBO(0, 0, 0, .08),
    offset: Offset(0, 6), //阴影y轴偏移量
    blurRadius: 16, //阴影模糊程度
    spreadRadius: 0, //阴影扩散程度
  ),
  BoxShadow(
    color: Color.fromRGBO(0, 0, 0, .12),
    offset: Offset(0, 3), //阴影y轴偏移量
    blurRadius: 6, //阴影模糊程度
    spreadRadius: -4, //阴影扩散程度
  ),
  BoxShadow(
    color: Color.fromRGBO(0, 0, 0, .05),
    offset: Offset(0, 9), //阴影y轴偏移量
    blurRadius: 28, //阴影模糊程度
    spreadRadius: 8, //阴影扩散程度
  ),
];