GlassContainer constructor
const
GlassContainer({
- Key? key,
- Widget? child,
- double blur = 10.0,
- double opacity = 0.1,
- Color color = Colors.white,
- BorderRadius? borderRadius,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- Border? border,
- List<
BoxShadow> ? shadows, - 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,
});