mod: 播放器实例销毁、页面层级
This commit is contained in:
@ -483,7 +483,11 @@ class _HeaderControlState extends State<HeaderControl> {
|
||||
size: 15,
|
||||
color: Colors.white,
|
||||
),
|
||||
fuc: () => Get.offAll(const MainApp()),
|
||||
fuc: () {
|
||||
// 销毁播放器实例
|
||||
widget.controller!.dispose(type: 'all');
|
||||
Get.offAll(const MainApp());
|
||||
},
|
||||
),
|
||||
const Spacer(),
|
||||
// ComBtn(
|
||||
|
Reference in New Issue
Block a user