From d2e7d8f0af889c13a855d874b58927f2cb5f1184 Mon Sep 17 00:00:00 2001 From: wuxinglong Date: Tue, 6 Jan 2026 15:34:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=92=AD=E6=94=BE=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/utils/file/play/video_play_page.dart | 4 ---- lib/utils/{videoPlay.dart => play_video.dart} | 8 ++++---- 2 files changed, 4 insertions(+), 8 deletions(-) rename lib/utils/{videoPlay.dart => play_video.dart} (87%) diff --git a/lib/utils/file/play/video_play_page.dart b/lib/utils/file/play/video_play_page.dart index f2fea1c..01fd57f 100755 --- a/lib/utils/file/play/video_play_page.dart +++ b/lib/utils/file/play/video_play_page.dart @@ -1,10 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_common/utils/file/video/lib/chewie.dart'; import 'package:video_player/video_player.dart'; - - - - class VideoPlayPage extends StatefulWidget { final String? videoUrl; const VideoPlayPage({super.key, this.videoUrl}); diff --git a/lib/utils/videoPlay.dart b/lib/utils/play_video.dart similarity index 87% rename from lib/utils/videoPlay.dart rename to lib/utils/play_video.dart index 5c182b3..daf9084 100644 --- a/lib/utils/videoPlay.dart +++ b/lib/utils/play_video.dart @@ -2,17 +2,17 @@ import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; import 'package:omni_video_player/omni_video_player.dart'; -class VideoPlayPage extends StatefulWidget { +class PlayVideoPage extends StatefulWidget { final String videoUrl; - const VideoPlayPage({super.key, required this.videoUrl}); + const PlayVideoPage({super.key, required this.videoUrl}); @override - State createState() => _VideoPlayPageState(); + State createState() => _PlayVideoPageState(); } -class _VideoPlayPageState extends State { +class _PlayVideoPageState extends State { OmniPlaybackController? _controller; @override void initState() {