SurfaceCardProps constructor

const SurfaceCardProps({
  1. required Component child,
  2. SurfaceEffect effect = SurfaceEffect.none,
  3. double blurAmount = 10.0,
  4. double backgroundOpacity = 0.8,
  5. String? backgroundColor,
  6. List<String>? gradientColors,
  7. int gradientAngle = 135,
  8. String? borderRadius,
  9. bool showBorder = true,
  10. String? padding,
  11. SurfaceShadow shadow = SurfaceShadow.md,
})

Implementation

const SurfaceCardProps({
  required this.child,
  this.effect = SurfaceEffect.none,
  this.blurAmount = 10.0,
  this.backgroundOpacity = 0.8,
  this.backgroundColor,
  this.gradientColors,
  this.gradientAngle = 135,
  this.borderRadius,
  this.showBorder = true,
  this.padding,
  this.shadow = SurfaceShadow.md,
});