SurfaceCardProps constructor
const
SurfaceCardProps({
- required Widget child,
- SurfaceEffect effect = SurfaceEffect.none,
- double blurAmount = 10.0,
- double backgroundOpacity = 0.8,
- String? backgroundColor,
- List<
String> ? gradientColors, - int gradientAngle = 135,
- String? borderRadius,
- bool showBorder = true,
- String? padding,
- 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,
});