ArcaneSurfaceCard.frosted constructor

const ArcaneSurfaceCard.frosted({
  1. required Component child,
  2. double blurAmount = 12.0,
  3. double backgroundOpacity = 0.6,
  4. String? backgroundColor,
  5. String? borderRadius,
  6. bool showBorder = true,
  7. String? padding,
  8. ShadowIntensity shadow = ShadowIntensity.md,
  9. Key? key,
})

Implementation

const ArcaneSurfaceCard.frosted({
  required this.child,
  this.blurAmount = 12.0,
  this.backgroundOpacity = 0.6,
  this.backgroundColor,
  this.borderRadius,
  this.showBorder = true,
  this.padding,
  this.shadow = ShadowIntensity.md,
  super.key,
})  : effect = SurfaceEffect.frosted,
      gradientColors = null,
      gradientAngle = 135;