BoxShadow constructor

const BoxShadow(
  1. {Color color: const Color(0xFF000000),
  2. Offset offset: Offset.zero,
  3. double blurRadius: 0.0,
  4. double spreadRadius: 0.0}
)

Creates a box shadow.

By default, the shadow is solid black with zero offset, blurRadius, and spreadRadius.

Implementation

const BoxShadow({
  Color color = const Color(0xFF000000),
  Offset offset = Offset.zero,
  double blurRadius = 0.0,
  this.spreadRadius = 0.0,
}) : super(color: color, offset: offset, blurRadius: blurRadius);