opt: dm widget

Closes #350

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-28 21:16:31 +08:00
parent f1f478e193
commit 139b48c457

View File

@@ -911,6 +911,10 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
), ),
), ),
/// 弹幕面板
if (widget.danmuWidget != null)
Positioned.fill(top: 4, child: widget.danmuWidget!),
/// 长按倍速 toast /// 长按倍速 toast
Obx( Obx(
() => Align( () => Align(
@@ -1110,10 +1114,6 @@ class _PLVideoPlayerState extends State<PLVideoPlayer>
// } // }
// }), // }),
/// 弹幕面板
if (widget.danmuWidget != null)
Positioned.fill(top: 4, child: widget.danmuWidget!),
/// 手势 /// 手势
Positioned.fill( Positioned.fill(
left: 16, left: 16,