fix: 横竖屏适配标题滚动显示,图标调整,监听器加取消

This commit is contained in:
orz12
2024-02-26 11:37:04 +08:00
parent fe21d554cf
commit 7cadf46bd6
4 changed files with 64 additions and 24 deletions

View File

@@ -296,10 +296,10 @@ class VideoContent extends StatelessWidget {
maxLines: videoItem.videos > 1 ? 1 : 2,
overflow: TextOverflow.ellipsis,
),
if (videoItem.showTitle != null) ...[
if (videoItem.isFullScreen != null) ...[
const SizedBox(height: 2),
Text(
videoItem.showTitle,
videoItem.isFullScreen,
textAlign: TextAlign.start,
style: TextStyle(
fontSize: Theme.of(context).textTheme.labelMedium!.fontSize,