CardContentItem constructor

const CardContentItem({
  1. required ContentType type,
  2. String? text,
  3. TextStyle? textStyle,
  4. List<TextSpan>? richTextSpans,
  5. String? imageUrl,
  6. double? imageHeight,
  7. double? imageWidth,
  8. double? imageRadius,
  9. BoxFit? imageFit,
  10. ButtonStyle? buttonStyle,
  11. String? actionId,
  12. dynamic actionData,
  13. IconData? icon,
  14. Color? iconColor,
  15. double? iconSize,
  16. Widget? chartWidget,
  17. Color? dividerColor,
  18. double? dividerThickness,
  19. double? dividerHeight,
  20. List<CardContentItem>? listItems,
  21. Widget? customWidget,
  22. 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,
});