GlassContainer constructor

const GlassContainer({
  1. Key? key,
  2. Widget? child,
  3. double blur = 10.0,
  4. double opacity = 0.1,
  5. Color color = Colors.white,
  6. BorderRadius? borderRadius,
  7. EdgeInsetsGeometry? padding,
  8. EdgeInsetsGeometry? margin,
  9. Border? border,
  10. List<BoxShadow>? shadows,
  11. Gradient? gradient,
})

Implementation

const GlassContainer({
  super.key,
  this.child,
  this.blur = 10.0,
  this.opacity = 0.1,
  this.color = Colors.white,
  this.borderRadius,
  this.padding,
  this.margin,
  this.border,
  this.shadows,
  this.gradient,
});