how to give a container a shadow in flutter code example
Example 1: shadow container flutter
BoxDecoration(
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 5,
blurRadius: 7,
offset: Offset(0, 3), // changes position of shadow
),
],
)
Example 2: shadow border to container flutter
BackdropFilter