Answers for "how to give a container a shadow in flutter"

3

shadow container flutter

BoxDecoration(
  boxShadow: [
    BoxShadow(
      color: Colors.grey.withOpacity(0.5),
      spreadRadius: 5,
      blurRadius: 7,
      offset: Offset(0, 3), // changes position of shadow
    ),
  ],
)
Posted by: Guest on June-27-2020

Code answers related to "how to give a container a shadow in flutter"

Browse Popular Code Answers by Language