revert commented code that were due to zoom issue

live_activities
tahaalam 2 months ago
parent cd15cf1a39
commit 12ec392fc2

Binary file not shown.

@ -25,7 +25,7 @@ android {
defaultConfig { defaultConfig {
applicationId = "com.ejada.hmg" applicationId = "com.ejada.hmg"
// minSdk = 24 // minSdk = 24
minSdk = 26 minSdk = 28
targetSdk = 36 targetSdk = 36
compileSdk = 36 compileSdk = 36
// targetSdk = flutter.targetSdkVersion // targetSdk = flutter.targetSdkVersion
@ -91,7 +91,7 @@ android {
"lib/arm64-v8a/libc++_shared.so", "lib/arm64-v8a/libc++_shared.so",
"**/*.so" "**/*.so"
) )
useLegacyPackaging = true useLegacyPackaging = false
} }
resources { resources {
excludes += listOf("META-INF/proguard/androidx-annotations.pro") excludes += listOf("META-INF/proguard/androidx-annotations.pro")

@ -25,6 +25,11 @@ public final class GeneratedPluginRegistrant {
} catch (Exception e) { } catch (Exception e) {
Log.e(TAG, "Error registering plugin audio_session, com.ryanheise.audio_session.AudioSessionPlugin", e); Log.e(TAG, "Error registering plugin audio_session, com.ryanheise.audio_session.AudioSessionPlugin", e);
} }
try {
flutterEngine.getPlugins().add(new de.mintware.barcode_scan.BarcodeScanPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin barcode_scan2, de.mintware.barcode_scan.BarcodeScanPlugin", e);
}
try { try {
flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.connectivity.ConnectivityPlugin()); flutterEngine.getPlugins().add(new dev.fluttercommunity.plus.connectivity.ConnectivityPlugin());
} catch (Exception e) { } catch (Exception e) {
@ -90,6 +95,11 @@ public final class GeneratedPluginRegistrant {
} catch (Exception e) { } catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_plugin_android_lifecycle, io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin", e); Log.e(TAG, "Error registering plugin flutter_plugin_android_lifecycle, io.flutter.plugins.flutter_plugin_android_lifecycle.FlutterAndroidLifecyclePlugin", e);
} }
try {
flutterEngine.getPlugins().add(new com.flutterzoom.videosdk.FlutterZoomVideoSdkPlugin());
} catch (Exception e) {
Log.e(TAG, "Error registering plugin flutter_zoom_videosdk, com.flutterzoom.videosdk.FlutterZoomVideoSdkPlugin", e);
}
try { try {
flutterEngine.getPlugins().add(new io.github.ponnamkarthik.toast.fluttertoast.FlutterToastPlugin()); flutterEngine.getPlugins().add(new io.github.ponnamkarthik.toast.fluttertoast.FlutterToastPlugin());
} catch (Exception e) { } catch (Exception e) {

@ -1522,7 +1522,7 @@
"bmi": "مؤشر كتلة الجسم", "bmi": "مؤشر كتلة الجسم",
"yesPleaseINeedHelp": "نعم، من فضلك أريد المساعدة", "yesPleaseINeedHelp": "نعم، من فضلك أريد المساعدة",
"noThanksIKnowTheClinic": "لا شكراً، أعرف العيادة", "noThanksIKnowTheClinic": "لا شكراً، أعرف العيادة",
"unableToSendOTP": "تعذر إرسال رمز التحقق لمرة واحدة" "unableToSendOTP": "تعذر إرسال رمز التحقق لمرة واحدة",
"callForVitalSign": "استدعاء لأخذ العلامات الحيوية", "callForVitalSign": "استدعاء لأخذ العلامات الحيوية",
"callForDoctor": "استدعاء الطبيب", "callForDoctor": "استدعاء الطبيب",
"yourQueueNumber": "رقمك في الدور", "yourQueueNumber": "رقمك في الدور",

@ -1516,7 +1516,7 @@
"bmi": "BMI", "bmi": "BMI",
"yesPleaseINeedHelp": "Yes, Please I need help", "yesPleaseINeedHelp": "Yes, Please I need help",
"noThanksIKnowTheClinic": "No, Thanks. I Know the clinic", "noThanksIKnowTheClinic": "No, Thanks. I Know the clinic",
"unableToSendOTP": "Unable to send Verification OTP" "unableToSendOTP": "Unable to send Verification OTP",
"callForVitalSign": "Call for vital signs", "callForVitalSign": "Call for vital signs",
"callForDoctor": "Call for Doctor", "callForDoctor": "Call for Doctor",
"yourQueueNumber": "Your Queue Number", "yourQueueNumber": "Your Queue Number",

@ -127,10 +127,10 @@ class AppDependencies {
getIt.registerLazySingleton<CacheService>(() => CacheServiceImp(sharedPreferences: sharedPreferences, loggerService: getIt())); getIt.registerLazySingleton<CacheService>(() => CacheServiceImp(sharedPreferences: sharedPreferences, loggerService: getIt()));
final flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); final flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin();
// getIt.registerLazySingleton<NotificationService>(() => NotificationServiceImp( getIt.registerLazySingleton<NotificationService>(() => NotificationServiceImp(
// flutterLocalNotificationsPlugin: flutterLocalNotificationsPlugin, flutterLocalNotificationsPlugin: flutterLocalNotificationsPlugin,
// loggerService: getIt(), loggerService: getIt(),
// )); ));
getIt.registerLazySingleton<ApiClient>(() => ApiClientImp(appState: getIt())); getIt.registerLazySingleton<ApiClient>(() => ApiClientImp(appState: getIt()));
getIt.registerLazySingleton<LocalAuthService>( getIt.registerLazySingleton<LocalAuthService>(

@ -985,7 +985,6 @@ abstract class LocaleKeys {
static const thankYouForPatience = 'thankYouForPatience'; static const thankYouForPatience = 'thankYouForPatience';
static const servingNow = 'servingNow'; static const servingNow = 'servingNow';
static const callForVitalSigns = 'callForVitalSigns'; static const callForVitalSigns = 'callForVitalSigns';
static const callForDoctor = 'callForDoctor';
static const thingsToAskDoctor = 'thingsToAskDoctor'; static const thingsToAskDoctor = 'thingsToAskDoctor';
static const improveOverallHealth = 'improveOverallHealth'; static const improveOverallHealth = 'improveOverallHealth';
static const routineScreenings = 'routineScreenings'; static const routineScreenings = 'routineScreenings';

@ -16,7 +16,7 @@ import 'package:hmg_patient_app_new/generated/locale_keys.g.dart';
import 'package:hmg_patient_app_new/presentation/appointments/appointment_queue_page.dart'; import 'package:hmg_patient_app_new/presentation/appointments/appointment_queue_page.dart';
import 'package:hmg_patient_app_new/presentation/home/navigation_screen.dart'; import 'package:hmg_patient_app_new/presentation/home/navigation_screen.dart';
import 'package:hmg_patient_app_new/theme/colors.dart'; import 'package:hmg_patient_app_new/theme/colors.dart';
// import 'package:barcode_scan2/barcode_scan2.dart'; import 'package:barcode_scan2/barcode_scan2.dart';
import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart'; import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart';
import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart'; import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart';
import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart'; import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart';
@ -91,10 +91,10 @@ class AppointmentCheckinBottomSheet extends StatelessWidget {
LocaleKeys.qrCode.tr(context: context), LocaleKeys.qrCode.tr(context: context),
LocaleKeys.scanQRCodeToCheckIn.tr(context: context), LocaleKeys.scanQRCodeToCheckIn.tr(context: context),
).onPress(() async { ).onPress(() async {
// String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent)); String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent));
// if (onlineCheckInQRCode != "") { if (onlineCheckInQRCode != "") {
// sendCheckInRequest(onlineCheckInQRCode, 2, context); sendCheckInRequest(onlineCheckInQRCode, 2, context);
// } else {} } else {}
}), }),
], ],
); );

@ -14,7 +14,7 @@ import 'package:hmg_patient_app_new/features/book_appointments/book_appointments
import 'package:hmg_patient_app_new/generated/locale_keys.g.dart'; import 'package:hmg_patient_app_new/generated/locale_keys.g.dart';
import 'package:hmg_patient_app_new/presentation/book_appointment/review_appointment_page.dart'; import 'package:hmg_patient_app_new/presentation/book_appointment/review_appointment_page.dart';
import 'package:hmg_patient_app_new/theme/colors.dart'; import 'package:hmg_patient_app_new/theme/colors.dart';
// import 'package:barcode_scan2/barcode_scan2.dart'; import 'package:barcode_scan2/barcode_scan2.dart';
import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart'; import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart';
import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart'; import 'package:hmg_patient_app_new/widgets/loader/bottomsheet_loader.dart';
import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart'; import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart';
@ -82,10 +82,10 @@ class WaitingAppointmentOnlineCheckinSheet extends StatelessWidget {
LocaleKeys.qrCode.tr(), LocaleKeys.qrCode.tr(),
LocaleKeys.scanQRCodeToCheckIn.tr() LocaleKeys.scanQRCodeToCheckIn.tr()
).onPress(() async { ).onPress(() async {
// String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent)); String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent));
// if (onlineCheckInQRCode != "") { if (onlineCheckInQRCode != "") {
// checkScannedNFCAndQRCode(onlineCheckInQRCode, context); checkScannedNFCAndQRCode(onlineCheckInQRCode, context);
// } else {} } else {}
}), }),
], ],
); );

@ -12,7 +12,7 @@ import 'package:hmg_patient_app_new/extensions/string_extensions.dart';
import 'package:hmg_patient_app_new/extensions/widget_extensions.dart'; import 'package:hmg_patient_app_new/extensions/widget_extensions.dart';
import 'package:hmg_patient_app_new/generated/locale_keys.g.dart'; import 'package:hmg_patient_app_new/generated/locale_keys.g.dart';
import 'package:hmg_patient_app_new/theme/colors.dart'; import 'package:hmg_patient_app_new/theme/colors.dart';
// import 'package:barcode_scan2/barcode_scan2.dart'; import 'package:barcode_scan2/barcode_scan2.dart';
import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart'; import 'package:hmg_patient_app_new/widgets/common_bottom_sheet.dart';
import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart'; import 'package:hmg_patient_app_new/widgets/nfc/nfc_reader_sheet.dart';
@ -80,10 +80,10 @@ class ErOnlineCheckinSelectCheckinBottomSheet extends StatelessWidget {
LocaleKeys.qrCode.tr(context: context), LocaleKeys.qrCode.tr(context: context),
LocaleKeys.scanQRCodeToCheckIn.tr(context: context), LocaleKeys.scanQRCodeToCheckIn.tr(context: context),
).onPress(() async { ).onPress(() async {
// String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent)); String onlineCheckInQRCode = (await BarcodeScanner.scan().then((value) => value.rawContent));
// if (onlineCheckInQRCode != "") { if (onlineCheckInQRCode != "") {
// sendCheckInRequest(onlineCheckInQRCode, context); sendCheckInRequest(onlineCheckInQRCode, context);
// } else {} } else {}
}), }),
], ],
); );

File diff suppressed because it is too large Load Diff

@ -1,258 +1,258 @@
// import 'dart:async'; import 'dart:async';
//
// import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
// import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:flutter_hooks/flutter_hooks.dart';
// import 'package:flutter_zoom_videosdk/flutter_zoom_view.dart' as FlutterZoomView; import 'package:flutter_zoom_videosdk/flutter_zoom_view.dart' as FlutterZoomView;
// import 'package:flutter_zoom_videosdk/native/zoom_videosdk.dart'; import 'package:flutter_zoom_videosdk/native/zoom_videosdk.dart';
//
// const SHOW_TALKING_ICON_DURATION = 2000; const SHOW_TALKING_ICON_DURATION = 2000;
//
// class VideoView extends FlutterZoomView.ZoomView { class VideoView extends FlutterZoomView.ZoomView {
// const VideoView({ const VideoView({
// super.key, super.key,
// required super.user, required super.user,
// required super.sharing, required super.sharing,
// required super.preview, required super.preview,
// required super.focused, required super.focused,
// required super.hasMultiCamera, required super.hasMultiCamera,
// required super.multiCameraIndex, required super.multiCameraIndex,
// required super.videoAspect, required super.videoAspect,
// required super.fullScreen, required super.fullScreen,
// required super.resolution, required super.resolution,
// required super.isPiPView, required super.isPiPView,
// }); });
//
// @override @override
// Widget build(BuildContext context) { Widget build(BuildContext context) {
// var isVideoOn = useState(false); var isVideoOn = useState(false);
// var isTalking = useState(false); var isTalking = useState(false);
// var isMuted = useState(false); var isMuted = useState(false);
// var isMounted = useIsMounted(); var isMounted = useIsMounted();
// var zoom = ZoomVideoSdk(); var zoom = ZoomVideoSdk();
// var isSharing = useState(false); var isSharing = useState(false);
// user?.audioStatus?.isMuted().then((muted) => isMuted.value = muted); user?.audioStatus?.isMuted().then((muted) => isMuted.value = muted);
//
// useEffect(() { useEffect(() {
// updateVideoStatus() { updateVideoStatus() {
// if (user == null) return; if (user == null) return;
// Future<void>.microtask(() async { Future<void>.microtask(() async {
// if (isMounted()) { if (isMounted()) {
// isVideoOn.value = (await user!.videoStatus!.isOn()); isVideoOn.value = (await user!.videoStatus!.isOn());
// isSharing.value = sharing; isSharing.value = sharing;
// } }
// }); });
// } }
//
// resetAudioStatus() { resetAudioStatus() {
// isTalking.value = false; isTalking.value = false;
// isMuted.value = false; isMuted.value = false;
// } }
//
// updateAudioStatus() async { updateAudioStatus() async {
// if (!isMounted()) return; if (!isMounted()) return;
// var talking = await user?.audioStatus?.isTalking(); var talking = await user?.audioStatus?.isTalking();
// var muted = await user?.audioStatus?.isMuted(); var muted = await user?.audioStatus?.isMuted();
// isMuted.value = muted!; isMuted.value = muted!;
// isTalking.value = talking!; isTalking.value = talking!;
// if (talking) { if (talking) {
// Timer( Timer(
// const Duration(milliseconds: SHOW_TALKING_ICON_DURATION), const Duration(milliseconds: SHOW_TALKING_ICON_DURATION),
// () => { () => {
// if (isMounted()) if (isMounted())
// { {
// isTalking.value = false, isTalking.value = false,
// } }
// }); });
// } }
// } }
//
// updateVideoStatus(); updateVideoStatus();
// return null; return null;
// }, [zoom, user]); }, [zoom, user]);
//
// ImageIcon audioStatusIcon; ImageIcon audioStatusIcon;
// if (isTalking.value) { if (isTalking.value) {
// audioStatusIcon = const ImageIcon( audioStatusIcon = const ImageIcon(
// AssetImage("assets/images/png/zoom/talking@2x.png"), AssetImage("assets/images/png/zoom/talking@2x.png"),
// ); );
// } else if (isMuted.value) { } else if (isMuted.value) {
// audioStatusIcon = const ImageIcon( audioStatusIcon = const ImageIcon(
// AssetImage("assets/images/png/zoom/muted@2x.png"), AssetImage("assets/images/png/zoom/muted@2x.png"),
// ); );
// } }
// // Pass parameters to the platform side. // Pass parameters to the platform side.
// final Map<String, dynamic> creationParams = <String, dynamic>{}; final Map<String, dynamic> creationParams = <String, dynamic>{};
// creationParams.putIfAbsent("userId", () => user?.userId); creationParams.putIfAbsent("userId", () => user?.userId);
// creationParams.putIfAbsent("sharing", () => sharing); creationParams.putIfAbsent("sharing", () => sharing);
// creationParams.putIfAbsent("preview", () => preview); creationParams.putIfAbsent("preview", () => preview);
// creationParams.putIfAbsent("focused", () => focused); creationParams.putIfAbsent("focused", () => focused);
// creationParams.putIfAbsent("hasMultiCamera", () => hasMultiCamera); creationParams.putIfAbsent("hasMultiCamera", () => hasMultiCamera);
// if (videoAspect.isEmpty) { if (videoAspect.isEmpty) {
// creationParams.putIfAbsent("videoAspect", () => VideoAspect.PanAndScan); creationParams.putIfAbsent("videoAspect", () => VideoAspect.PanAndScan);
// } else { } else {
// creationParams.putIfAbsent("videoAspect", () => videoAspect); creationParams.putIfAbsent("videoAspect", () => videoAspect);
// } }
// creationParams.putIfAbsent("fullScreen", () => fullScreen); creationParams.putIfAbsent("fullScreen", () => fullScreen);
// if (resolution.isNotEmpty) { if (resolution.isNotEmpty) {
// creationParams.putIfAbsent("videoAspect", () => videoAspect); creationParams.putIfAbsent("videoAspect", () => videoAspect);
// } }
//
// if (fullScreen) { if (fullScreen) {
// if (sharing) { if (sharing) {
// return Container( return Container(
// height: MediaQuery.of(context).size.height, height: MediaQuery.of(context).size.height,
// width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
// alignment: Alignment.center, alignment: Alignment.center,
// child: FlutterZoomView.View(creationParams: creationParams), child: FlutterZoomView.View(creationParams: creationParams),
// ); );
// } else if (isVideoOn.value) { } else if (isVideoOn.value) {
// return Container( return Container(
// height: MediaQuery.of(context).size.height, height: MediaQuery.of(context).size.height,
// width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
// alignment: Alignment.center, alignment: Alignment.center,
// child: FlutterZoomView.View(creationParams: creationParams), child: FlutterZoomView.View(creationParams: creationParams),
// ); );
// } else { } else {
// return Container( return Container(
// margin: const EdgeInsets.symmetric(vertical: 0), margin: const EdgeInsets.symmetric(vertical: 0),
// child: Container( child: Container(
// alignment: Alignment.center, alignment: Alignment.center,
// child: const Image( child: const Image(
// image: AssetImage("assets/images/png/zoom/default-avatar.png"), image: AssetImage("assets/images/png/zoom/default-avatar.png"),
// )), )),
// ); );
// } }
// } else { } else {
// if (isVideoOn.value || sharing) { if (isVideoOn.value || sharing) {
// return Container( return Container(
// padding: const EdgeInsets.symmetric(horizontal: 8), padding: const EdgeInsets.symmetric(horizontal: 8),
height: 110,
width: 110,
child: Stack(
children: [
Container(
height: 110,
width: 110,
decoration: BoxDecoration(
color: const Color(0xff232323),
border: Border.all(
color: const Color(0xff666666),
width: 1,
),
borderRadius: const BorderRadius.all(Radius.circular(8)),
),
alignment: Alignment.center,
child: FlutterZoomView.View(creationParams: creationParams),
),
Container(
height: 110,
width: 110,
decoration: const BoxDecoration(
borderRadius: BorderRadius.all(Radius.circular(8)),
),
),
Container(
alignment: Alignment.bottomCenter,
child: Container(
height: 20,
width: 110,
decoration: const BoxDecoration(
color: Colors.black26,
borderRadius: BorderRadius.all(Radius.circular(8)),
),
),
),
Container(
alignment: Alignment.bottomLeft,
margin: const EdgeInsets.only(left: 5),
child: Text(
user!.userName,
textAlign: TextAlign.left,
style: const TextStyle(
color: Colors.white,
fontSize: 12,
),
),
),
Container(
alignment: Alignment.bottomRight,
margin: const EdgeInsets.only(right: 5, bottom: 5),
// height: 110, // height: 110,
// width: 110, // width: 110,
// child: Stack( child: Image(
// children: [ height: 12,
// Container( width: 12,
// height: 110, image: isMuted.value ? const AssetImage("assets/images/png/zoom/muted@2x.png") : const AssetImage("assets/images/png/zoom/talking@2x.png"),
// width: 110, fit: BoxFit.cover,
// decoration: BoxDecoration( ),
// color: const Color(0xff232323), )
// border: Border.all( ],
// color: const Color(0xff666666), ),
// width: 1, );
// ), } else {
// borderRadius: const BorderRadius.all(Radius.circular(8)), return Container(
// ), padding: const EdgeInsets.symmetric(horizontal: 8),
// alignment: Alignment.center, height: 110,
// child: FlutterZoomView.View(creationParams: creationParams), width: 110,
// ), child: Stack(
// Container( children: [
// height: 110, Container(
// width: 110, height: 110,
// decoration: const BoxDecoration( width: 110,
// borderRadius: BorderRadius.all(Radius.circular(8)), decoration: BoxDecoration(
// ), color: const Color(0xff232323),
// ), border: Border.all(
// Container( color: const Color(0xff666666),
// alignment: Alignment.bottomCenter, width: 1,
// child: Container( ),
// height: 20, borderRadius: const BorderRadius.all(Radius.circular(8)),
// width: 110, ),
// decoration: const BoxDecoration( alignment: Alignment.center,
// color: Colors.black26, child: Container(
// borderRadius: BorderRadius.all(Radius.circular(8)), alignment: Alignment.center,
// ), child: const Image(
// ), height: 60,
// ), width: 60,
// Container( image: AssetImage("assets/images/png/zoom/default-avatar.png"),
// alignment: Alignment.bottomLeft, )),
// margin: const EdgeInsets.only(left: 5), ),
// child: Text( Align(
// user!.userName, alignment: Alignment.bottomCenter,
// textAlign: TextAlign.left, child: Container(
// style: const TextStyle( height: 20,
// color: Colors.white, width: 110,
// fontSize: 12, decoration: const BoxDecoration(
// ), color: Colors.black26,
// ), borderRadius: BorderRadius.all(Radius.circular(8)),
// ), ),
// Container( ),
// alignment: Alignment.bottomRight, ),
// margin: const EdgeInsets.only(right: 5, bottom: 5), Container(
// // height: 110, alignment: Alignment.bottomLeft,
// // width: 110, margin: const EdgeInsets.only(left: 5),
// child: Image( child: Text(
// height: 12, user!.userName,
// width: 12, textAlign: TextAlign.left,
// image: isMuted.value ? const AssetImage("assets/images/png/zoom/muted@2x.png") : const AssetImage("assets/images/png/zoom/talking@2x.png"), style: const TextStyle(
// fit: BoxFit.cover, color: Colors.white,
// ), fontSize: 12,
// ) ),
// ], ),
// ), ),
// ); Container(
// } else { alignment: Alignment.bottomRight,
// return Container( margin: const EdgeInsets.only(right: 5, bottom: 5),
// padding: const EdgeInsets.symmetric(horizontal: 8), child: Image(
// height: 110, height: 12,
// width: 110, width: 12,
// child: Stack( image: isMuted.value ? const AssetImage("assets/images/png/zoom/muted@2x.png") : const AssetImage("assets/images/png/zoom/talking@2x.png"),
// children: [ fit: BoxFit.cover,
// Container( ),
// height: 110, ),
// width: 110, ],
// decoration: BoxDecoration( ),
// color: const Color(0xff232323), );
// border: Border.all( }
// color: const Color(0xff666666), }
// width: 1, }
// ), }
// borderRadius: const BorderRadius.all(Radius.circular(8)),
// ),
// alignment: Alignment.center,
// child: Container(
// alignment: Alignment.center,
// child: const Image(
// height: 60,
// width: 60,
// image: AssetImage("assets/images/png/zoom/default-avatar.png"),
// )),
// ),
// Align(
// alignment: Alignment.bottomCenter,
// child: Container(
// height: 20,
// width: 110,
// decoration: const BoxDecoration(
// color: Colors.black26,
// borderRadius: BorderRadius.all(Radius.circular(8)),
// ),
// ),
// ),
// Container(
// alignment: Alignment.bottomLeft,
// margin: const EdgeInsets.only(left: 5),
// child: Text(
// user!.userName,
// textAlign: TextAlign.left,
// style: const TextStyle(
// color: Colors.white,
// fontSize: 12,
// ),
// ),
// ),
// Container(
// alignment: Alignment.bottomRight,
// margin: const EdgeInsets.only(right: 5, bottom: 5),
// child: Image(
// height: 12,
// width: 12,
// image: isMuted.value ? const AssetImage("assets/images/png/zoom/muted@2x.png") : const AssetImage("assets/images/png/zoom/talking@2x.png"),
// fit: BoxFit.cover,
// ),
// ),
// ],
// ),
// );
// }
// }
// }
// }

@ -95,7 +95,7 @@ class AppRoutes {
register: (context) => RegisterNew(), register: (context) => RegisterNew(),
registerStepTwo: (context) => RegisterNewStep2(), registerStepTwo: (context) => RegisterNewStep2(),
medicalFilePage: (context) => MedicalFilePage(), medicalFilePage: (context) => MedicalFilePage(),
zoomCallPage: (context) => MedicalFilePage(), zoomCallPage: (context) => CallScreen(),
eReferralPage: (context) => NewReferralPage(), eReferralPage: (context) => NewReferralPage(),
comprehensiveCheckupPage: (context) => ComprehensiveCheckupPage(), comprehensiveCheckupPage: (context) => ComprehensiveCheckupPage(),
homeHealthCarePage: (context) => HhcProceduresPage(), homeHealthCarePage: (context) => HhcProceduresPage(),

@ -61,7 +61,7 @@ dependencies:
geolocator: ^14.0.2 geolocator: ^14.0.2
dropdown_search: ^6.0.2 dropdown_search: ^6.0.2
google_maps_flutter: ^2.13.1 google_maps_flutter: ^2.13.1
flutter_zoom_videosdk: 2.1.10 flutter_zoom_videosdk: 2.4.0
dart_jsonwebtoken: ^3.2.0 dart_jsonwebtoken: ^3.2.0
dartz: ^0.10.1 dartz: ^0.10.1
equatable: ^2.0.7 equatable: ^2.0.7

Loading…
Cancel
Save