GlassCard constructor

const GlassCard({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(AppSpacing.lg),
  4. EdgeInsetsGeometry? margin,
  5. double blur = 16.0,
  6. double opacity = 0.15,
  7. double radius = AppRadius.large,
  8. Color? borderColor,
  9. VoidCallback? onTap,
})

Implementation

const GlassCard({
  super.key,
  required this.child,
  this.padding = const EdgeInsets.all(AppSpacing.lg),
  this.margin,
  this.blur = 16.0,
  this.opacity = 0.15,
  this.radius = AppRadius.large,
  this.borderColor,
  this.onTap,
});