GlassCard constructor

const GlassCard({
  1. Key? key,
  2. Widget? child,
  3. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(4)),
  4. AlignmentGeometry? alignment,
  5. EdgeInsetsGeometry? padding,
  6. Decoration? decoration,
  7. double? width,
  8. double? height,
  9. EdgeInsetsGeometry? margin = const EdgeInsets.all(8),
  10. List<BoxShadow>? shadow,
  11. Gradient? gradient,
  12. double elevation = 1,
  13. Color glassColor = const Color(0xFFFFFFFF),
  14. 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);