xCustomCard method
Widget
xCustomCard
(- {double width,
- Color color = Colors.white,
- EdgeInsetsGeometry padding,
- Color shadowColor = Colors.grey,
- double rounded = 15,
- double height,
- double blurRadius = 30,
- double spreadRadius = 0.2,
- Offset offset = const Offset(0, 20),
- Function onTap,
- EdgeInsetsGeometry margin,
- DecorationImage image,
- BorderRadiusGeometry borderRadius}
)
Implementation
Widget xCustomCard({
double width,
Color color = Colors.white,
EdgeInsetsGeometry padding,
Color shadowColor = Colors.grey,
double rounded = 15,
double height,
double blurRadius = 30,
double spreadRadius = 0.2,
Offset offset = const Offset(0, 20),
Function onTap,
EdgeInsetsGeometry margin,
DecorationImage image,
BorderRadiusGeometry borderRadius,
}) {
return XContainer(
offset: offset,
margin: EdgeInsets.all(50),
color: Colors.white,
spreadRadius: spreadRadius,
blurRadius: blurRadius,
shadowColor: shadowColor,
rounded: rounded,
padding: EdgeInsets.all(0.0),
borderRadius: borderRadius,
height: height,
image: image,
key: key,
onTap: onTap,
width: width,
child: this);
}