GlassContainer constructor

const GlassContainer({
  1. Key? key,
  2. required Widget child,
  3. double? height,
  4. double? width,
  5. EdgeInsetsGeometry? padding,
  6. EdgeInsetsGeometry? margin,
  7. double borderRadius = 20,
  8. double blur = 15,
  9. double opacity = 0.6,
  10. VoidCallback? onTap,
  11. Color? backgroundColor = Colors.white,
})

Implementation

const GlassContainer({
  super.key,
  required this.child,
  this.height,
  this.width,
  this.padding,
  this.margin,
  this.borderRadius = 20,
  this.blur = 15,
  this.opacity = 0.6,
  this.onTap,
  this.backgroundColor = Colors.white,
});