shadowElement method

dynamic shadowElement({
  1. Color? color,
})

Implementation

shadowElement({Color? color}) {
  return [
    BoxShadow(
      color: color ?? const Color.fromRGBO(0, 0, 0, 0.15),
      blurRadius: 8,
      offset: const Offset(0, 3),
      spreadRadius: 0,
    )
  ];
}