LiquidGlassContainer constructor
const
LiquidGlassContainer({
- Key? key,
- Widget? child,
- LiquidGlassConfig config = const LiquidGlassConfig(),
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- AlignmentGeometry? alignment,
- BoxConstraints? constraints,
- VoidCallback? onTap,
- VoidCallback? onLongPress,
- bool enableHapticFeedback = true,
- Decoration? backgroundDecoration,
Implementation
const LiquidGlassContainer({
super.key,
this.child,
this.config = const LiquidGlassConfig(),
this.width,
this.height,
this.padding,
this.margin,
this.alignment,
this.constraints,
this.onTap,
this.onLongPress,
this.enableHapticFeedback = true,
this.backgroundDecoration,
});