xCustomCard method

Widget xCustomCard (
  1. {double width,
  2. Color color = Colors.white,
  3. EdgeInsetsGeometry padding,
  4. Color shadowColor = Colors.grey,
  5. double rounded = 15,
  6. double height,
  7. double blurRadius = 30,
  8. double spreadRadius = 0.2,
  9. Offset offset = const Offset(0, 20),
  10. Function onTap,
  11. EdgeInsetsGeometry margin,
  12. DecorationImage image,
  13. 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);
}