BoxShadow constructor

const BoxShadow({
  1. Color color = Colors.black,
  2. num x = 0,
  3. num y = 2,
  4. num blurRadius = 4,
  5. num spreadRadius = 0,
})

Creates a shadow with optional offsets and blur.

Implementation

const BoxShadow(
    {this.color = Colors.black,
    this.x = 0,
    this.y = 2,
    this.blurRadius = 4,
    this.spreadRadius = 0});