Card elevation shadow in Flutter

Viewed 61

my card eleveation shadow is only showing in the bottom . How can I set a shadow for 4 sides or corners of the card .

Thank you.

1 Answers

increase your blur radius property will give shadow for 4 sides

boxShadow: [
          BoxShadow (
          color: light.withOpacity(0.6),
          blurRadius: 7.0,
          spreadRadius: 2
          ),
        ],
Related