//
// import 'package:flutter/material.dart';
// import 'package:get/get.dart';
// import 'package:mighty_school/feature/course/domain/model/course_details_model.dart';
// import 'package:mighty_school/feature/course/logic/course_controller.dart';
// import 'package:mighty_school/util/dimensions.dart';
//
// class MyCourseDetailsLiveClassWidget extends StatelessWidget {
//   const MyCourseDetailsLiveClassWidget({super.key});
//
//   @override
//   Widget build(BuildContext context) {
//     return GetBuilder<CourseController>(
//       builder: (courseController) {
//         CourseDetailsModel? courseDetailsModel = courseController.courseDetailsModel;
//         return Padding(padding: const EdgeInsets.only(top : Dimensions.paddingSizeDefault),
//           child: Column(spacing: Dimensions.paddingSizeExtraSmall, children: [
//
//             if(courseDetailsModel?.data?.zoomMeetings != null && courseDetailsModel!.data!.zoomMeetings!.isNotEmpty)
//               Column(mainAxisSize: MainAxisSize.min,
//                 children: [
//                   if(ResponsiveHelper.isDesktop)
//                   Row(spacing: Dimensions.paddingSizeSmall, children: [
//                     Expanded(child: Text("title".tr, style: textRegular.copyWith(fontSize: Dimensions.fontSizeSmall),)),
//                     Expanded(child: Text('start_time'.tr, style: textRegular.copyWith(fontSize: Dimensions.fontSizeSmall),)),
//                     Expanded(child: Text('duration'.tr, style: textRegular.copyWith(fontSize: Dimensions.fontSizeSmall),)),
//                     Expanded(child: Text('join_url'.tr, style: textRegular.copyWith(fontSize: Dimensions.fontSizeSmall),)),
//                   ]),
//                   if(ResponsiveHelper.isDesktop)
//                   CustomDivider(),
//                   ListView.builder(
//                     shrinkWrap: true,
//                     itemCount: courseDetailsModel.data?.zoomMeetings?.length,
//                     padding: EdgeInsets.zero,
//                     itemBuilder: (_, index){
//                     return ZoomItemWidget(zoomItem: courseDetailsModel.data?.zoomMeetings?[index], index: index,);
//                   },),
//                 ],
//               )
//           ],
//           ),
//         );
//       }
//     );
//   }
// }
