GlassCard constructor

const GlassCard({
  1. Key? key,
  2. required Widget child,
  3. double blur = 10.0,
  4. double opacity = 0.1,
  5. double borderRadius = 20.0,
  6. Color color = Colors.white,
  7. Gradient? gradient,
  8. EdgeInsetsGeometry? padding,
  9. EdgeInsetsGeometry? margin,
  10. double? width,
  11. double? height,
  12. Border? border,
})

Implementation

const GlassCard({
  super.key,
  required this.child,
  this.blur = 10.0,
  this.opacity = 0.1,
  this.borderRadius = 20.0,
  this.color = Colors.white,
  this.gradient,
  this.padding,
  this.margin,
  this.width,
  this.height,
  this.border,
});