GlassCard constructor
const
GlassCard({
- Key? key,
- Widget? child,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(4)),
- AlignmentGeometry? alignment,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- double? width,
- double? height,
- EdgeInsetsGeometry? margin = const EdgeInsets.all(8),
- List<
BoxShadow> ? shadow, - Gradient? gradient,
- double elevation = 1,
- Color glassColor = const Color(0xFFFFFFFF),
- Border? border,
Implementation
const GlassCard({
Key? key,
this.child,
this.borderRadius = const BorderRadius.all(Radius.circular(4)),
this.alignment,
this.padding,
this.decoration,
this.width,
this.height,
this.margin = const EdgeInsets.all(8),
this.shadow,
this.gradient,
this.elevation = 1,
this.glassColor = const Color(0xFFFFFFFF),
this.border,
}) : super(key: key);