opt: dm widget

Closes #160
Closes #515

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-24 13:44:54 +08:00
parent 79d0d314f5
commit 95fa19f121
3 changed files with 5 additions and 5 deletions

View File

@@ -928,14 +928,15 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
subtitleViewConfiguration:
plPlayerController.subtitleViewConfiguration,
fit: plPlayerController.videoFit.value,
dmWidget: widget.danmuWidget,
),
),
),
),
/// 弹幕面板
if (widget.danmuWidget != null)
Positioned.fill(top: 4, child: widget.danmuWidget!),
// /// 弹幕面板
// if (widget.danmuWidget != null)
// Positioned.fill(top: 4, child: widget.danmuWidget!),
/// 长按倍速 toast
Obx(