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