GlassCard constructor

const GlassCard({
  1. Key? key,
  2. Widget? child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  4. EdgeInsetsGeometry? margin,
  5. LiquidShape shape = _defaultShape,
  6. LiquidGlassSettings? settings,
  7. bool useOwnLayer = false,
  8. GlassQuality? quality,
  9. Clip clipBehavior = Clip.none,
  10. double? width,
  11. 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,
});