GNCustomCard constructor
GNCustomCard({
- Key? key,
- Color? bgColor,
- Color? cardBorderBackgroundColor,
- Widget? child,
- double? cardRadius,
- GestureTapCallback? onCardPress,
- bool isGiveWidth = true,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? shadowColor,
- double? elevation,
- double? cardBorderWidth,
- BorderRadiusGeometry? borderRadius,
- bool? isAnimateOnPress = false,
- 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,
});