VideoCardConfig constructor

const VideoCardConfig({
  1. String? scene,
  2. String? cardType,
  3. int? cardWidth,
  4. int? cardHeight,
  5. int? coverWidth,
  6. int? coverHeight,
  7. bool? showTitle,
  8. bool? showUserName,
  9. bool? showPlayButton,
  10. bool? showDuration,
  11. bool? showViewCount,
  12. bool? showLikeCount,
  13. bool? showCommentCount,
  14. bool? showShareButton,
  15. bool? autoPlay,
  16. bool? loopPlay,
  17. bool? mutePlay,
  18. int? preloadCount,
  19. int? cacheSize,
  20. int? networkType,
  21. String? backgroundColor,
  22. String? titleColor,
  23. String? userNameColor,
  24. String? playButtonColor,
  25. String? statsColor,
  26. String? borderColor,
  27. int? borderWidth,
  28. int? cornerRadius,
  29. int? padding,
  30. int? margin,
  31. bool? enableShadow,
  32. String? shadowColor,
  33. int? shadowOffsetX,
  34. int? shadowOffsetY,
  35. int? shadowBlurRadius,
  36. int? fontSize,
  37. bool? fontBold,
  38. int? titleMaxLines,
  39. int? userNameMaxLength,
})

Implementation

const VideoCardConfig({
  this.scene,
  this.cardType,
  this.cardWidth,
  this.cardHeight,
  this.coverWidth,
  this.coverHeight,
  this.showTitle,
  this.showUserName,
  this.showPlayButton,
  this.showDuration,
  this.showViewCount,
  this.showLikeCount,
  this.showCommentCount,
  this.showShareButton,
  this.autoPlay,
  this.loopPlay,
  this.mutePlay,
  this.preloadCount,
  this.cacheSize,
  this.networkType,
  this.backgroundColor,
  this.titleColor,
  this.userNameColor,
  this.playButtonColor,
  this.statsColor,
  this.borderColor,
  this.borderWidth,
  this.cornerRadius,
  this.padding,
  this.margin,
  this.enableShadow,
  this.shadowColor,
  this.shadowOffsetX,
  this.shadowOffsetY,
  this.shadowBlurRadius,
  this.fontSize,
  this.fontBold,
  this.titleMaxLines,
  this.userNameMaxLength,
});