bottomBoxShadow function
底部阴影
Implementation
BoxDecoration? bottomBoxShadow(BuildContext context) {
return BoxDecoration(
// gradient: blackLinearGradient(),
color: Colors.white,
boxShadow: [
BoxShadow(
color: Colors.grey[100]!,
offset: Offset(0, 5), //xy轴偏移
blurRadius: 5.0, //阴影模糊程度
spreadRadius: 1 //阴影扩散程度
)
]);
}