2024-04-25 17:33:07 +08:00
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
import 'package:star_lock/main/lockDetail/videoLog/videoLog/videoLog_entity.dart';
|
|
|
|
|
import 'package:video_player/video_player.dart';
|
2023-11-18 10:38:13 +08:00
|
|
|
|
2024-04-25 17:33:07 +08:00
|
|
|
class VideoLogDetailState {
|
|
|
|
|
var recordData = RecordListData().obs;
|
|
|
|
|
late VideoPlayerController videoController;
|
|
|
|
|
var videoLogList = [].obs;
|
2023-11-18 10:38:13 +08:00
|
|
|
|
2024-04-25 17:33:07 +08:00
|
|
|
VideoLogDetailState() {
|
|
|
|
|
Map map = Get.arguments;
|
|
|
|
|
if (map['recordData'] != null) {
|
|
|
|
|
recordData.value = map['recordData'];
|
|
|
|
|
}
|
2023-11-18 10:38:13 +08:00
|
|
|
|
2024-04-25 17:33:07 +08:00
|
|
|
if (map['videoDataList'] != null) {
|
|
|
|
|
videoLogList.value = map['videoDataList'];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|