XCard constructor
const
XCard({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry padding = const EdgeInsets.all(10.0),
- double radius = 8.0,
- Color? background,
- EdgeInsetsGeometry margin = const EdgeInsets.symmetric(horizontal: 3, vertical: 2),
- double? blurRadius,
- Color? shadowColor,
- double? width,
- double? height,
- 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,
});