Shadow constructor

const Shadow({
  1. Object x = 0,
  2. Object y = 1,
  3. Object blur = 2,
  4. Object spread = 0,
  5. required Object color,
  6. bool inset = false,
})

Creates a box shadow value.

Implementation

const Shadow({
  this.x = 0,
  this.y = 1,
  this.blur = 2,
  this.spread = 0,
  required this.color,
  this.inset = false,
});