chudongvip / awesome_video_player

This is a flutter package of video player. it's a very simple and easy to use.
MIT License
196 stars 36 forks source link

大佬 把控制器暴露出来啊 #47

Closed taozhipeng1990 closed 4 years ago

taozhipeng1990 commented 4 years ago

image


  @override
  AwsomeVideoPlayerState createState() => AwsomeVideoPlayerState();
}

class AwsomeVideoPlayerState extends State<AwsomeVideoPlayer>
    with SingleTickerProviderStateMixin {
  /// 控制器 - 快进 seekTo 暂停 pause 播放 play 摧毁 dispose
  VideoPlayerController controller;

有些操作要在其他地方做。不暴露出控制器 怎么搞

taozhipeng1990 commented 4 years ago

oninit 有中传递......

chudongvip commented 4 years ago

2.0 将会暴露,只是最近太忙,没时间更新,晚点我更新你可以关注一下哈