问题描述
这个 SystemChrome.setEnabledsystemUIOverlays 在 initState 中对我不起作用 全屏问题 这是我的 initState
void initState() {
SystemChrome.setEnabledsystemUIOverlays([]);
super.initState();
_chewieController = ChewieController(
videoPlayerController: widget.videoPlayerController,looping: widget.loop,aspectRatio: 16 / 9,autoInitialize: true,autoplay: false,showControls: true,showControlsOnInitialize: true,fullScreenByDefault: true,allowFullScreen: true,deviceOrientationsOnEnterFullScreen: [DeviceOrientation.landscapeLeft],deviceOrientationsAfterFullScreen: [DeviceOrientation.portraitUp],);
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)