GlassContainer constructor
const
GlassContainer({
- Key? key,
- required Widget child,
- double? height,
- double? width,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- double borderRadius = 20,
- double blur = 15,
- double opacity = 0.6,
- VoidCallback? onTap,
- 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,
});