no message

ipd-changes-for-vida-plus
Sultan Khan 1 week ago
parent cb3825707d
commit 15978a0fea

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

Loading…
Cancel
Save