|
|
|
@ -129,7 +129,7 @@ class AppointmentCard extends StatelessWidget {
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
Image.network(
|
|
|
|
Image.network(
|
|
|
|
isLoading ? 'https://hmgwebservices.com/Images/MobileImages/DUBAI/unkown_female.png' : patientAppointmentHistoryResponseModel.doctorImageURL!,
|
|
|
|
isLoading ? 'https://hmgwebservices.com/Images/MobileImages/DUBAI/unkown_female.png' : patientAppointmentHistoryResponseModel.doctorImageURL!,
|
|
|
|
width: 63.w,
|
|
|
|
width: 63.h,
|
|
|
|
height: 63.h,
|
|
|
|
height: 63.h,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
fit: BoxFit.cover,
|
|
|
|
).circle(100.r).toShimmer2(isShow: isLoading),
|
|
|
|
).circle(100.r).toShimmer2(isShow: isLoading),
|
|
|
|
@ -238,7 +238,8 @@ class AppointmentCard extends StatelessWidget {
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
// height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
|
|
|
|
height: 40.h,
|
|
|
|
icon: AppAssets.checkmark_icon,
|
|
|
|
icon: AppAssets.checkmark_icon,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
iconSize: 16.h,
|
|
|
|
iconSize: 16.h,
|
|
|
|
@ -264,7 +265,7 @@ class AppointmentCard extends StatelessWidget {
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
height: 40.h,
|
|
|
|
icon: AppointmentType.getNextActionIcon(patientAppointmentHistoryResponseModel.nextAction),
|
|
|
|
icon: AppointmentType.getNextActionIcon(patientAppointmentHistoryResponseModel.nextAction),
|
|
|
|
iconColor: AppointmentType.getNextActionTextColor(patientAppointmentHistoryResponseModel.nextAction),
|
|
|
|
iconColor: AppointmentType.getNextActionTextColor(patientAppointmentHistoryResponseModel.nextAction),
|
|
|
|
iconSize: 15.h,
|
|
|
|
iconSize: 15.h,
|
|
|
|
@ -336,7 +337,8 @@ class AppointmentCard extends StatelessWidget {
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
// height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
|
|
|
|
height: 40.h,
|
|
|
|
icon: AppAssets.ask_doctor_icon,
|
|
|
|
icon: AppAssets.ask_doctor_icon,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
iconColor: AppColors.primaryRedColor,
|
|
|
|
iconSize: 16.h,
|
|
|
|
iconSize: 16.h,
|
|
|
|
@ -353,7 +355,7 @@ class AppointmentCard extends StatelessWidget {
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
borderRadius: 12.r,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w),
|
|
|
|
height: isTablet || isFoldable ? 46.h : 40.h,
|
|
|
|
height: 40.h,
|
|
|
|
icon: AppAssets.rebook_appointment_icon,
|
|
|
|
icon: AppAssets.rebook_appointment_icon,
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
iconSize: 16.h,
|
|
|
|
iconSize: 16.h,
|
|
|
|
|