BoxShadow constructor

const BoxShadow({
  1. double offsetX = 0,
  2. double offsetY = 2,
  3. double blurRadius = 4,
  4. double spreadRadius = 0,
  5. String color = 'rgba(0, 0, 0, 0.1)',
  6. ShadowPosition position = ShadowPosition.outer,
})

Implementation

const BoxShadow({
  this.offsetX = 0,
  this.offsetY = 2,
  this.blurRadius = 4,
  this.spreadRadius = 0,
  this.color = 'rgba(0, 0, 0, 0.1)',
  this.position = ShadowPosition.outer,
});