getCommonCardBasicNew function
dynamic
getCommonCardBasicNew()
Implementation
getCommonCardBasicNew() {
return BoxDecoration(
color: white,
borderRadius: BorderRadius.circular(kButtonCornerRadius),
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.1), //color of shadow
spreadRadius: 3, //spread radius
blurRadius: 6, // blur radius
offset: const Offset(0, 2), // changes position of shadow
//first paramerter of offset is left-right
//second parameter is top to down
)
],
);
}