VideoSingleCardConfig constructor

const VideoSingleCardConfig({
  1. String? scene,
  2. bool? hidePlay,
  3. bool? hideTitle,
  4. bool? showTitle,
  5. bool? hideBottomInfo,
  6. int? coverHeight,
  7. int? coverWidth,
  8. String? componentPosition,
  9. int? reportTopPadding,
  10. int? cardWidth,
  11. int? cardHeight,
  12. bool? showUserName,
  13. bool? showDuration,
  14. bool? showViewCount,
  15. bool? showLikeCount,
  16. bool? showCommentCount,
  17. bool? showShareButton,
  18. bool? showAvatar,
  19. bool? showFollowButton,
  20. bool? autoPlay,
  21. bool? loopPlay,
  22. bool? mutePlay,
  23. int? preloadCount,
  24. int? cacheSize,
  25. int? networkType,
  26. String? backgroundColor,
  27. String? titleColor,
  28. String? userNameColor,
  29. String? playButtonColor,
  30. String? statsColor,
  31. String? borderColor,
  32. int? borderWidth,
  33. int? cornerRadius,
  34. int? padding,
  35. int? margin,
  36. bool? enableShadow,
  37. String? shadowColor,
  38. int? shadowOffsetX,
  39. int? shadowOffsetY,
  40. int? shadowBlurRadius,
  41. int? fontSize,
  42. bool? fontBold,
  43. int? titleMaxLines,
  44. int? userNameMaxLength,
  45. int? playButtonSize,
  46. int? avatarSize,
  47. int? followButtonWidth,
  48. int? followButtonHeight,
  49. int? actionButtonSpacing,
  50. int? bottomInfoHeight,
  51. int? topInfoHeight,
})

Implementation

const VideoSingleCardConfig({
  this.scene,
  this.hidePlay,
  this.hideTitle,
  this.showTitle,
  this.hideBottomInfo,
  this.coverHeight,
  this.coverWidth,
  this.componentPosition,
  this.reportTopPadding,
  this.cardWidth,
  this.cardHeight,
  this.showUserName,
  this.showDuration,
  this.showViewCount,
  this.showLikeCount,
  this.showCommentCount,
  this.showShareButton,
  this.showAvatar,
  this.showFollowButton,
  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,
  this.playButtonSize,
  this.avatarSize,
  this.followButtonWidth,
  this.followButtonHeight,
  this.actionButtonSpacing,
  this.bottomInfoHeight,
  this.topInfoHeight,
});