Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2026-01-03 11:00:55 +08:00
parent bcacc41db3
commit cfb72f27ac
6 changed files with 13 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class PlDanmaku extends StatefulWidget {
final bool isPipMode;
final bool isFullScreen;
final bool isFileSource;
final Size size;
const PlDanmaku({
super.key,
@@ -26,6 +27,7 @@ class PlDanmaku extends StatefulWidget {
this.isPipMode = false,
required this.isFullScreen,
required this.isFileSource,
required this.size,
});
@override
@@ -157,6 +159,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
..removePositionListener(videoPositionListen)
..removeStatusLister(playerListener);
_plDanmakuController.dispose();
_controller = null;
super.dispose();
}
@@ -176,6 +179,7 @@ class _PlDanmakuState extends State<PlDanmaku> {
notFullscreen: widget.notFullscreen,
speed: playerController.playbackSpeed,
),
size: widget.size,
),
),
);