shadow method
Add shadow
Implementation
Widget shadow({
Color color = const Color(0x40000000),
double blurRadius = 8.0,
Offset offset = const Offset(0, 2),
}) =>
Container(
decoration: BoxDecoration(
boxShadow: [
BoxShadow(
color: color,
blurRadius: blurRadius,
offset: offset,
),
],
),
child: this,
);