GlassPanel constructor

const GlassPanel({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(24),
  4. EdgeInsetsGeometry? margin,
  5. LiquidShape shape = const LiquidRoundedSuperellipse(borderRadius: 20),
  6. LiquidGlassSettings? settings,
  7. bool useOwnLayer = false,
  8. GlassQuality? quality,
  9. Clip clipBehavior = Clip.none,
  10. double? width,
  11. double? height,
})

Creates a glass panel.

Implementation

const GlassPanel({
  super.key,
  this.child,
  this.padding = const EdgeInsets.all(24),
  this.margin,
  this.shape = const LiquidRoundedSuperellipse(borderRadius: 20),
  this.settings,
  this.useOwnLayer = false,
  this.quality,
  this.clipBehavior = Clip.none,
  this.width,
  this.height,
});