XCard constructor

const XCard({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(10.0),
  4. double radius = 8.0,
  5. Color? background,
  6. EdgeInsetsGeometry margin = const EdgeInsets.symmetric(horizontal: 3, vertical: 2),
  7. double? blurRadius,
  8. Color? shadowColor,
  9. double? width,
  10. double? height,
  11. AlignmentGeometry? alignment,
})

Creates an XCard with customizable styling options.

Implementation

const XCard({
  super.key,
  required this.child,
  this.padding = const EdgeInsets.all(10.0),
  this.radius = 8.0,
  this.background,
  this.margin = const EdgeInsets.symmetric(horizontal: 3, vertical: 2),
  this.blurRadius,
  this.shadowColor,
  this.width,
  this.height,
  this.alignment,
});