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: 5, //spread radius
          blurRadius: 9, // blur radius
          offset: Offset(0, 2), // changes position of shadow
        )
      ],
  );
}