IconShadow constructor

const IconShadow(
  1. Icon icon, {
  2. Key? key,
  3. bool showShadow = true,
  4. Color? shadowColor,
  5. double shadowBlurSigma = 0.9,
  6. Offset? shadowOffset,
})

A widget that draws a shadow around its child Icon. You may modify the shadow color, blur and offset using the shadowColor, shadowBlurSigma and shadowOffset properties.

Implementation

const IconShadow(
  this.icon, {
  Key? key,
  this.showShadow = true,
  this.shadowColor,
  this.shadowBlurSigma = 0.9,
  this.shadowOffset,
}) : super(key: key);