GlassCard constructor
const
GlassCard({
- Key? key,
- Widget? child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(16),
- EdgeInsetsGeometry? margin,
- LiquidShape shape = _defaultShape,
- LiquidGlassSettings? settings,
- bool useOwnLayer = false,
- GlassQuality? quality,
- Clip clipBehavior = Clip.none,
- double? width,
- double? height,
Creates a glass card.
Implementation
const GlassCard({
super.key,
this.child,
this.padding = const EdgeInsets.all(16),
this.margin,
this.shape = _defaultShape,
this.settings,
this.useOwnLayer = false,
this.quality,
this.clipBehavior = Clip.none,
this.width,
this.height,
});