Answers for "flutter add shadow to container"

11

flutter add shadow to container

Container(
  decoration: BoxDecoration(
    boxShadow: [
      BoxShadow(
        color: Colors.grey.withOpacity(0.8),
        spreadRadius: 10,
        blurRadius: 5,
        offset: Offset(0, 7), // changes position of shadow
      ),
    ],
  ),
  child: Image.asset(chocolateImage),
)
Posted by: Guest on April-08-2020
-1

shadow border to container flutter

BackdropFilter
Posted by: Guest on May-14-2020

Code answers related to "flutter add shadow to container"

Browse Popular Code Answers by Language