Question : flutter container shadow
Answered by : sore-serval-d2a40v4h8jp2
Container( decoration: BoxDecoration( boxShadow: [ BoxShadow( color: Colors.grey.withOpacity(0.4), spreadRadius: 2, blurRadius: 8, ), ], ), ),
Source : | Last Update : Wed, 08 Sep 21
Question : how to get box shadow in container in flutter
Answered by : arrogant-aardvark-91n7mot47phz
decoration: BoxDecoration( boxShadow: [ BoxShadow( color: Colors.grey.withOpacity(0.8), spreadRadius: 10, blurRadius: 5, offset: Offset(0, 7), // changes position of shadow ), ], ),
Source : | Last Update : Tue, 11 Jan 22
Question : box shadow flutter
Answered by : donate-me
boxShadow: [ BoxShadow( color: Colors.redAccent, offset: Offset(0.0, 1.0), //(x,y) blurRadius: 3.0, ), ],
Source : | Last Update : Sat, 18 Sep 21
Question : flutter container shadow
Answered by : friendly-finch-zwil4b4pl9n0
return Container( margin: EdgeInsets.only(left: 30, top: 100, right: 30, bottom: 50), height: double.infinity, width: double.infinity, decoration: BoxDecoration( color: Colors.white, borderRadius: BorderRadius.only( topLeft: Radius.circular(10), topRight: Radius.circular(10), bottomLeft: Radius.circular(10), bottomRight: Radius.circular(10) ), boxShadow: [ BoxShadow( color: Colors.grey.withOpacity(0.5), spreadRadius: 5, blurRadius: 7, offset: Offset(0, 3), // changes position of shadow ), ], ),
Source : https://stackoverflow.com/questions/52227846/how-can-i-add-shadow-to-the-widget-in-flutter | Last Update : Wed, 27 May 20
Question : flutter shadow container
Answered by : funny-falcon-kmkkvsy6xkqf
Card( elevation: 8, child: Container(width: 100, height: 100, color: Colors.blue), ),
Source : | Last Update : Wed, 03 Feb 21