|
|
|
@ -42,77 +42,79 @@ class AppointmentDoctorCard extends StatelessWidget {
|
|
|
|
fit: BoxFit.fill,
|
|
|
|
fit: BoxFit.fill,
|
|
|
|
).circle(100),
|
|
|
|
).circle(100),
|
|
|
|
SizedBox(width: 16.h),
|
|
|
|
SizedBox(width: 16.h),
|
|
|
|
Column(
|
|
|
|
Expanded(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
patientAppointmentHistoryResponseModel.doctorNameObj!.toText16(isBold: true),
|
|
|
|
children: [
|
|
|
|
SizedBox(height: 8.h),
|
|
|
|
patientAppointmentHistoryResponseModel.doctorNameObj!.toText16(isBold: true),
|
|
|
|
Row(
|
|
|
|
SizedBox(height: 8.h),
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
CustomButton(
|
|
|
|
children: [
|
|
|
|
text: patientAppointmentHistoryResponseModel.clinicName!,
|
|
|
|
CustomButton(
|
|
|
|
onPressed: () {},
|
|
|
|
text: patientAppointmentHistoryResponseModel.clinicName!,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
onPressed: () {},
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
fontSize: 10,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 10,
|
|
|
|
borderRadius: 8,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
borderRadius: 8,
|
|
|
|
height: 30.h,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
),
|
|
|
|
height: 30.h,
|
|
|
|
SizedBox(width: 6.h),
|
|
|
|
),
|
|
|
|
CustomButton(
|
|
|
|
SizedBox(width: 6.h),
|
|
|
|
text: patientAppointmentHistoryResponseModel.projectName!,
|
|
|
|
CustomButton(
|
|
|
|
onPressed: () {},
|
|
|
|
text: patientAppointmentHistoryResponseModel.projectName!,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
onPressed: () {},
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
fontSize: 10,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 10,
|
|
|
|
borderRadius: 8,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
borderRadius: 8,
|
|
|
|
height: 30.h,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
),
|
|
|
|
height: 30.h,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
SizedBox(height: 6.h),
|
|
|
|
),
|
|
|
|
Row(
|
|
|
|
SizedBox(height: 6.h),
|
|
|
|
children: [
|
|
|
|
Row(
|
|
|
|
CustomButton(
|
|
|
|
children: [
|
|
|
|
icon: AppAssets.appointment_calendar_icon,
|
|
|
|
CustomButton(
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
icon: AppAssets.appointment_calendar_icon,
|
|
|
|
iconSize: 12.h,
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
text: DateUtil.formatDateToDate(DateUtil.convertStringToDate(patientAppointmentHistoryResponseModel.appointmentDate), false),
|
|
|
|
iconSize: 12.h,
|
|
|
|
onPressed: () {},
|
|
|
|
text: DateUtil.formatDateToDate(DateUtil.convertStringToDate(patientAppointmentHistoryResponseModel.appointmentDate), false),
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
onPressed: () {},
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
fontSize: 10,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 10,
|
|
|
|
borderRadius: 8,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
borderRadius: 8,
|
|
|
|
height: 30.h,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
),
|
|
|
|
height: 30.h,
|
|
|
|
SizedBox(width: 6.h),
|
|
|
|
),
|
|
|
|
CustomButton(
|
|
|
|
SizedBox(width: 6.h),
|
|
|
|
icon: AppAssets.appointment_time_icon,
|
|
|
|
CustomButton(
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
icon: AppAssets.appointment_time_icon,
|
|
|
|
iconSize: 12.h,
|
|
|
|
iconColor: AppColors.blackColor,
|
|
|
|
text: DateUtil.formatDateToTimeLang(DateUtil.convertStringToDate(patientAppointmentHistoryResponseModel.appointmentDate), false),
|
|
|
|
iconSize: 12.h,
|
|
|
|
onPressed: () {},
|
|
|
|
text: DateUtil.formatDateToTimeLang(DateUtil.convertStringToDate(patientAppointmentHistoryResponseModel.appointmentDate), false),
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
onPressed: () {},
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
backgroundColor: AppColors.greyColor,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
borderColor: AppColors.greyColor,
|
|
|
|
fontSize: 10,
|
|
|
|
textColor: AppColors.blackColor,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
fontSize: 10,
|
|
|
|
borderRadius: 8,
|
|
|
|
fontWeight: FontWeight.w500,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
borderRadius: 8,
|
|
|
|
height: 30.h,
|
|
|
|
padding: EdgeInsets.fromLTRB(10, 0, 10, 0),
|
|
|
|
),
|
|
|
|
height: 30.h,
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|