updates & fixes

pull/195/head
haroon amjad 11 hours ago
parent fdeeed10d6
commit 6e71aa7f13

@ -195,7 +195,7 @@ class ApiClientImp implements ApiClient {
}
// body['TokenID'] = "@dm!n";
// body['PatientID'] = 4772997;
// body['PatientID'] = 4773715;
// body['PatientTypeID'] = 1;
// body['PatientOutSA'] = 0;
// body['SessionID'] = "45786230487560q";

@ -527,7 +527,10 @@ class LabViewModel extends ChangeNotifier {
rangeEnd = 100.0;
break;
default:
throw ArgumentError('Invalid flag: $flag');
rangeStart = 40.0;
rangeEnd = 59.0;
break;
// throw ArgumentError('Invalid flag: $flag');
}
// Clamp input value to 0-100 and map it to the range bounds

@ -5,6 +5,7 @@ import 'package:hmg_patient_app_new/core/utils/size_utils.dart';
import 'package:hmg_patient_app_new/core/utils/utils.dart';
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/features/ask_doctor/models/ask_doctor_appointments_list.dart';
import 'package:hmg_patient_app_new/features/my_appointments/models/resp_models/ask_doctor_request_type_response_model.dart';
import 'package:hmg_patient_app_new/features/my_appointments/models/resp_models/patient_appointment_history_response_model.dart';
import 'package:hmg_patient_app_new/features/my_appointments/my_appointments_view_model.dart';

@ -171,7 +171,18 @@ class AskDoctorAppointmentCard extends StatelessWidget {
child: AskDoctorRequestTypeSelect(
askDoctorRequestTypeList: myAppointmentsViewModel.askDoctorRequestTypeList,
myAppointmentsViewModel: myAppointmentsViewModel,
patientAppointmentHistoryResponseModel: PatientAppointmentHistoryResponseModel()
patientAppointmentHistoryResponseModel: PatientAppointmentHistoryResponseModel(
appointmentNo: askDoctorAppointmentHistoryList.appointmentNo,
doctorID: askDoctorAppointmentHistoryList.doctorID!,
doctorName: askDoctorAppointmentHistoryList.doctorName!,
doctorTitle: askDoctorAppointmentHistoryList.doctorTitle!,
doctorImageURL: askDoctorAppointmentHistoryList.doctorImageURL!,
clinicID: askDoctorAppointmentHistoryList.clinicID!,
clinicName: askDoctorAppointmentHistoryList.clinicName!,
projectID: askDoctorAppointmentHistoryList.projectID!,
projectName: askDoctorAppointmentHistoryList.projectName!,
appointmentDate: askDoctorAppointmentHistoryList.appointmentDate!,
),
// myAppointmentsVM.patientAppointmentsHistoryList[index],
),
callBackFunc: () {},

@ -188,7 +188,8 @@ class LoginScreenState extends State<LoginScreen> {
},
backgroundColor: AppColors.primaryRedColor,
borderColor: AppColors.primaryRedBorderColor,
textColor: AppColors.whiteColor,
textColor: Colors.white,
iconColor: Colors.white,
icon: AppAssets.message,
),
),
@ -219,9 +220,10 @@ class LoginScreenState extends State<LoginScreen> {
},
backgroundColor: Colors.white,
borderColor: AppColors.borderOnlyColor,
textColor: AppColors.textColor,
textColor: AppColors.whiteColor,
icon: AppAssets.whatsapp,
iconColor: null,
applyThemeColor: false,
),
),
],

@ -47,7 +47,7 @@ class _ExceptionBottomSheetState extends State<ExceptionBottomSheet> {
child: Container(
padding: EdgeInsets.all(24.h),
decoration: BoxDecoration(
color: Color(0xFFF8F8FA),
color: AppColors.whiteColor,
borderRadius: const BorderRadius.vertical(top: Radius.circular(16)),
),
child: Column(

Loading…
Cancel
Save