PieElevationStyle constructor

const PieElevationStyle({
  1. Color? color,
  2. double blurRadius = 0,
  3. double spreadRadius = 0,
  4. Offset offset = Offset.zero,
  5. double opacity = 1,
})

Creates an elevation layer.

Implementation

const PieElevationStyle({
  this.color,
  this.blurRadius = 0,
  this.spreadRadius = 0,
  this.offset = Offset.zero,
  this.opacity = 1,
}) : assert(blurRadius >= 0),
     assert(spreadRadius >= 0),
     assert(opacity >= 0 && opacity <= 1);