flutter - Flutter:当我横向播放视频时,App Bar 显示如何使用 Flutter_Youtube_player 避免这种情况
问题描述
她是我正在使用的代码,请帮助我。
返回脚手架(
appBar: AppBar(
centerTitle: true,
title: Text(widget.videoItem.video.title),
),
body: Container(
child: YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: true,
onReady: () {
print('Player is ready');
_isPlayerReady = true;
},),),);
解决方案
推荐阅读
- javascript - querySelectorAll 返回的节点问题
- javascript - ASP.NET onClientClick 返回 false 不起作用
- react-native - 将 base64 图像 uri 发送到 ImageManipulator
- nativescript - 如何在 Nativescript 中为 TabViewItem 赋予宽度?
- java - 如何获取任意整数数组并返回具有相同整数但没有重复的数组
- stopwatch - 我需要帮助为反应时间测试仪创建秒表
- .htaccess - .htaccess 出现 | 但它不存在
- racket - 用合约实现算术模 N
- c# - 为什么'value'可以用作变量,当它是C#中的关键字时?
- c - 将节点添加到结束函数有什么作用