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