GNCustomCard constructor

GNCustomCard({
  1. Key? key,
  2. Color? bgColor,
  3. Color? cardBorderBackgroundColor,
  4. Widget? child,
  5. double? cardRadius,
  6. GestureTapCallback? onCardPress,
  7. bool isGiveWidth = true,
  8. EdgeInsetsGeometry? margin,
  9. EdgeInsetsGeometry? padding,
  10. Color? shadowColor,
  11. double? elevation,
  12. double? cardBorderWidth,
  13. BorderRadiusGeometry? borderRadius,
  14. bool? isAnimateOnPress = false,
  15. bool? isShadowEffect = false,
})

Implementation

GNCustomCard({
  super.key,
  this.bgColor,
  this.cardBorderBackgroundColor,
  this.child,
  this.cardRadius,
  this.onCardPress,
  this.isGiveWidth = true,
  this.margin,
  this.padding,
  this.shadowColor,
  this.elevation,
  this.cardBorderWidth,
  this.borderRadius,
  this.isAnimateOnPress = false,
  this.isShadowEffect = false,
});