CardContentItem constructor
const
CardContentItem({
- required ContentType type,
- String? text,
- TextStyle? textStyle,
- List<
TextSpan> ? richTextSpans, - String? imageUrl,
- double? imageHeight,
- double? imageWidth,
- double? imageRadius,
- BoxFit? imageFit,
- ButtonStyle? buttonStyle,
- String? actionId,
- dynamic actionData,
- IconData? icon,
- Color? iconColor,
- double? iconSize,
- Widget? chartWidget,
- Color? dividerColor,
- double? dividerThickness,
- double? dividerHeight,
- List<
CardContentItem> ? listItems, - Widget? customWidget,
- EdgeInsets? padding,
Implementation
const CardContentItem({
required this.type,
this.text,
this.textStyle,
this.richTextSpans,
this.imageUrl,
this.imageHeight,
this.imageWidth,
this.imageRadius,
this.imageFit,
this.buttonStyle,
this.actionId,
this.actionData,
this.icon,
this.iconColor,
this.iconSize,
this.chartWidget,
this.dividerColor,
this.dividerThickness,
this.dividerHeight,
this.listItems,
this.customWidget,
this.padding,
});