|
|
|
@ -343,7 +343,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
Consumer<MyAppointmentsViewModel>(builder: (context, myAppointmentsVM, child) {
|
|
|
|
Consumer<MyAppointmentsViewModel>(builder: (context, myAppointmentsVM, child) {
|
|
|
|
// Provide an explicit height so the horizontal ListView has a bounded height
|
|
|
|
// Provide an explicit height so the horizontal ListView has a bounded height
|
|
|
|
return SizedBox(
|
|
|
|
return SizedBox(
|
|
|
|
height: 140.h,
|
|
|
|
height: 180.h,
|
|
|
|
child: myAppointmentsVM.isMyAppointmentsLoading
|
|
|
|
child: myAppointmentsVM.isMyAppointmentsLoading
|
|
|
|
? MedicalFileAppointmentCard(
|
|
|
|
? MedicalFileAppointmentCard(
|
|
|
|
patientAppointmentHistoryResponseModel: PatientAppointmentHistoryResponseModel(),
|
|
|
|
patientAppointmentHistoryResponseModel: PatientAppointmentHistoryResponseModel(),
|
|
|
|
@ -665,7 +665,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
),
|
|
|
|
),
|
|
|
|
).paddingSymmetrical(24.w, 0.h)
|
|
|
|
).paddingSymmetrical(24.w, 0.h)
|
|
|
|
: SizedBox(
|
|
|
|
: SizedBox(
|
|
|
|
height: 200.h,
|
|
|
|
height: 100.h,
|
|
|
|
child: ListView.separated(
|
|
|
|
child: ListView.separated(
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
scrollDirection: Axis.horizontal,
|
|
|
|
itemCount: myAppointmentsVM.patientMyDoctorsList.length,
|
|
|
|
itemCount: myAppointmentsVM.patientMyDoctorsList.length,
|
|
|
|
@ -728,7 +728,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => SizedBox(width: 8.h),
|
|
|
|
separatorBuilder: (BuildContext cxt, int index) => SizedBox(width: 8.h),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
).paddingSymmetrical(24.w, 0);
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
SizedBox(height: 24.h),
|
|
|
|
SizedBox(height: 24.h),
|
|
|
|
"Others".needTranslation.toText18(isBold: true).paddingSymmetrical(24.w, 0.h),
|
|
|
|
"Others".needTranslation.toText18(isBold: true).paddingSymmetrical(24.w, 0.h),
|
|
|
|
@ -738,7 +738,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisExtent: 130.h,
|
|
|
|
mainAxisExtent: 110.h,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
@ -844,7 +844,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisExtent: 150.h,
|
|
|
|
mainAxisExtent: 120.h,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
padding: EdgeInsets.only(top: 12.h),
|
|
|
|
padding: EdgeInsets.only(top: 12.h),
|
|
|
|
@ -931,7 +931,7 @@ class _MedicalFilePageState extends State<MedicalFilePage> {
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisCount: 3,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
crossAxisSpacing: 16.h,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisSpacing: 16.w,
|
|
|
|
mainAxisExtent: 140.h,
|
|
|
|
mainAxisExtent: 110.h,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
|