boxShadow method
阴影
Implementation
Widget boxShadow({
Key? key,
Color color = Colors.black,
Offset offset = Offset.zero,
double blurRadius = 0.0,
double spreadRadius = 0.0,
BlurStyle blurStyle = BlurStyle.normal,
}) {
List<BoxShadow> boxShadow = [
BoxShadow(
color: color,
offset: offset,
blurRadius: blurRadius,
spreadRadius: spreadRadius,
blurStyle: blurStyle,
),
];
return decorated(
key: key,
boxShadow: boxShadow,
);
}