getCommonCard function

dynamic getCommonCard()

Implementation

getCommonCard(){
  return BoxDecoration(
    color: white,
    borderRadius: BorderRadius.circular(kTextFieldBorder),
    boxShadow: [
      BoxShadow(
        color: Colors.grey.withOpacity(0.1), //color of shadow
        spreadRadius: 2, //spread radius
        blurRadius: 4, // blur radius
        offset: const Offset(0, 2), // changes position of shadow
      )
    ],
  );
}