GlassCard constructor
const
GlassCard({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(AppSpacing.lg),
- EdgeInsetsGeometry? margin,
- double blur = 16.0,
- double opacity = 0.15,
- double radius = AppRadius.large,
- Color? borderColor,
- 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,
});