flutter contaier shadow 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: flutter shadow container
Card(
elevation: 8,
child: Container(width: 100, height: 100, color: Colors.blue),
),