LiquidGlassContainer constructor

const LiquidGlassContainer({
  1. Key? key,
  2. Widget? child,
  3. LiquidGlassConfig config = const LiquidGlassConfig(),
  4. double? width,
  5. double? height,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. AlignmentGeometry? alignment,
  9. BoxConstraints? constraints,
  10. VoidCallback? onTap,
  11. VoidCallback? onLongPress,
  12. bool enableHapticFeedback = true,
  13. 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,
});