PhoenixCard constructor
const
PhoenixCard({
- Key? key,
- double? width,
- EdgeInsets? padding,
- EdgeInsets? margin,
- VoidCallback? onTap,
- Color? backgroundColor,
- Widget? image,
- required Widget title,
- required Widget description,
- double? imageHeight = 150.0,
- Widget? label,
- double borderRadius = 4,
- bool enableShadow = true,
- Color borderColor = Colors.transparent,
- double borderWidth = 1,
Implementation
const PhoenixCard({
Key? key,
this.width,
this.padding,
this.margin,
this.onTap,
this.backgroundColor,
this.image,
required this.title,
required this.description,
this.footer,
this.footerSeparatorVisible = false,
this.imageHeight = 150.0,
this.footerSeparator,
this.label,
this.borderRadius = 4,
this.enableShadow = true,
this.borderColor = Colors.transparent,
this.borderWidth = 1,
}) : super(key: key);