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() {