PlayletCardView constructor
PlayletCardView({})
短剧卡片
width
宽 (根据宽返回 高:宽为
16:9` 的视频,加载完成后flutter widget会自动适配原生返回视频大小,这里高度可能会与设置的height不一致)height
高autoPlay
是否自动播放,默认trueloop
是否是否循环播放播放,默认truemute
是否静音,默认true
Implementation
PlayletCardView(
{Key? key,
required this.width,
required this.height,
this.autoPlay,
this.loop,
this.mute})
: super(key: key);