GlassPanel constructor
const
GlassPanel({
- Key? key,
- Widget? child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(24),
- EdgeInsetsGeometry? margin,
- LiquidShape shape = const LiquidRoundedSuperellipse(borderRadius: 20),
- LiquidGlassSettings? settings,
- bool useOwnLayer = false,
- GlassQuality? quality,
- Clip clipBehavior = Clip.none,
- double? width,
- 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,
});