getCommonCardBorderRadius function

dynamic getCommonCardBorderRadius()

Implementation

getCommonCardBorderRadius(){
  return BoxDecoration(
    color: white,
    borderRadius: BorderRadius.circular(8.0),
    boxShadow: [
      BoxShadow(
        color: Colors.grey.withOpacity(0.1), //color of shadow
        spreadRadius: 5, //spread radius
        blurRadius: 9, // blur radius
        offset: const Offset(0, 2), // changes position of shadow
      )
    ],
  );
 /* return BoxDecoration(
    borderRadius:const BorderRadius.all(Radius.circular(10),),
    boxShadow: [
      BoxShadow(
        color: Colors.grey.withOpacity(0.1), //color of shadow
        spreadRadius: 2, //spread radius
        blurRadius: 2, // blur radius
        offset: const Offset(0, 2), // changes position of shadow
      )
    ],
    color: white,
  );*/
}