FastWarningIcon constructor

const FastWarningIcon({
  1. Key? key,
  2. double size = kFastIconSizeMedium,
  3. Color? backgroundColor,
  4. Color? iconColor,
  5. double? iconSize,
  6. FastBoxShape? shape,
  7. Color? shadowColor,
  8. double blurRadius = kFastBlurRadius,
  9. bool hasShadow = false,
})

Implementation

const FastWarningIcon({
  super.key,
  this.size = kFastIconSizeMedium,
  this.backgroundColor,
  this.iconColor,
  this.iconSize,
  this.shape,
  this.shadowColor,
  this.blurRadius = kFastBlurRadius,
  this.hasShadow = false,
}) : assert(size >= 0);