createShadow function
Implementation
List<BoxShadow> createShadow({
Color color = Colors.black54,
Offset offset = const Offset(0.0, 4.0),
double blurRadius = 10.0,
double spreadRadius = 0.0
}) {
return [
BoxShadow(
color: color,
offset: offset,
blurRadius: blurRadius,
spreadRadius: spreadRadius
),
];
}