Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

add doubleTap playResume

Predidit3f9cc76831a2
diff --git a/lib/pages/player/player_item.dart b/lib/pages/player/player_item.dart
index cf523fc3..3accc37f 100644
--- a/lib/pages/player/player_item.dart
+++ b/lib/pages/player/player_item.dart
@@ -589,6 +589,14 @@ class _PlayerItemState extends State<PlayerItem>
debugPrint(e.toString());
}
},
+ onDoubleTap: () {
+ _handleTap();
+ if (playerController.playing) {
+ playerController.pause();
+ } else {
+ playerController.play();
+ }
+ },
child: Container(
color: Colors.transparent,
width: double.infinity,