VideoCardConfig constructor
const
VideoCardConfig({
- String? scene,
- String? cardType,
- int? cardWidth,
- int? cardHeight,
- int? coverWidth,
- int? coverHeight,
- bool? showTitle,
- bool? showUserName,
- bool? showPlayButton,
- bool? showDuration,
- bool? showViewCount,
- bool? showLikeCount,
- bool? showCommentCount,
- bool? autoPlay,
- bool? loopPlay,
- bool? mutePlay,
- int? preloadCount,
- int? cacheSize,
- int? networkType,
- String? backgroundColor,
- String? titleColor,
- String? userNameColor,
- String? playButtonColor,
- String? statsColor,
- String? borderColor,
- int? borderWidth,
- int? cornerRadius,
- int? padding,
- int? margin,
- bool? enableShadow,
- String? shadowColor,
- int? shadowOffsetX,
- int? shadowOffsetY,
- int? shadowBlurRadius,
- int? fontSize,
- bool? fontBold,
- int? titleMaxLines,
- 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,
});