GlassContainer constructor

const GlassContainer({
  1. Key? key,
  2. double? height,
  3. double? width,
  4. Widget? child,
  5. double blur = 15.0,
  6. double borderRadius = 20.0,
  7. Color backgroundColor = Colors.white24,
  8. Border? border,
  9. Alignment alignment = Alignment.center,
  10. EdgeInsetsGeometry? padding = const EdgeInsets.all(0),
  11. CustomClipper<Path>? clipper,
})

Implementation

const GlassContainer({
  super.key,
  this.height,
  this.width,
  this.child,
  this.blur = 15.0,
  this.borderRadius = 20.0,
  this.backgroundColor = Colors.white24,
  this.border,
  this.alignment = Alignment.center,
  this.padding = const EdgeInsets.all(0),
  this.clipper,
});