|
|
|
@ -39,42 +39,9 @@ class PrescriptionsPage extends StatelessWidget {
|
|
|
|
|
}),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
// ...List.generate(
|
|
|
|
|
// prescriptionsViewModel.prescriptionsOrderList.length,
|
|
|
|
|
// (index) => AppExpandableNotifier(
|
|
|
|
|
// title: prescriptionsViewModel
|
|
|
|
|
// .prescriptionsOrderList[index].filterName,
|
|
|
|
|
// bodyWidget: Column(
|
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
// children: prescriptionsViewModel
|
|
|
|
|
// .prescriptionsOrderList[index].prescriptionsList
|
|
|
|
|
// .map((prescriptions) {
|
|
|
|
|
// return InkWell(
|
|
|
|
|
// onTap: () => Navigator.push(
|
|
|
|
|
// context,
|
|
|
|
|
// FadePage(
|
|
|
|
|
// page: PrescriptionItemsPage(prescriptions: prescriptions,),
|
|
|
|
|
// ),
|
|
|
|
|
// ),
|
|
|
|
|
// child: DoctorCard(
|
|
|
|
|
// name: prescriptions.doctorName,
|
|
|
|
|
// profileUrl: prescriptions.doctorImageURL,
|
|
|
|
|
// rat: prescriptions.actualDoctorRate.toDouble(),
|
|
|
|
|
// subName: prescriptions.name,
|
|
|
|
|
// isInOutPatient: prescriptions.isInOutPatient,
|
|
|
|
|
// isLiveCareAppointment: prescriptions.isLiveCareAppointment,
|
|
|
|
|
// date:DateUtil.convertStringToDate(prescriptions.appointmentDate)//projectViewModel.isArabic? DateUtil.getMonthDayYearDateFormattedAr( DateUtil.convertStringToDate(prescriptions.appointmentDate) ):DateUtil.getMonthDayYearDateFormatted(DateUtil.convertStringToDate(prescriptions.appointmentDate)),
|
|
|
|
|
// ),
|
|
|
|
|
// );
|
|
|
|
|
// }).toList(),
|
|
|
|
|
// )),
|
|
|
|
|
// ),
|
|
|
|
|
ListView.separated(
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
// padding: EdgeInsets.only(left: 21, right: 21),
|
|
|
|
|
|
|
|
|
|
separatorBuilder: (context, index) {
|
|
|
|
|
return Container(
|
|
|
|
|
height: 1,
|
|
|
|
|