no message

ipd-changes-for-vida-plus
Sultan Khan 2 weeks ago
parent cb3825707d
commit 15978a0fea

@ -44,15 +44,13 @@ class PrescriptionItemsPage extends StatelessWidget {
profileUrl: prescriptions!.doctorImageURL!,
isAppointmentHeader: true,
),
body: SingleChildScrollView(
child: Container(
height: MediaQuery.of(context).size.height * .9,
child: Column(
// Use a Column with Expanded ListView to give the list a bounded height
// and avoid RenderFlex overflow from nested scrolling widgets.
body: Column(
children: [
ListView.builder(
scrollDirection: Axis.vertical,
physics: NeverScrollableScrollPhysics(),
shrinkWrap: true,
Expanded(
child: ListView.builder(
padding: EdgeInsets.zero,
itemCount: model.prescriptionReportEnhList.length,
itemBuilder: (context, index) => PrescriptionItemsWidget(
frequency: model.prescriptionReportEnhList[index].frequency,
@ -65,9 +63,8 @@ class PrescriptionItemsPage extends StatelessWidget {
prescriptionViewModel: model,
),
),
],
),
),
],
),
),
);

Loading…
Cancel
Save