Merge branch 'app_changes' into 'development'

App changes

See merge request Cloud_Solution/doctor_app_flutter!344
merge-requests/345/merge
Mohammad Aljammal 5 years ago
commit 982e075e41

@ -60,15 +60,23 @@ class MyReferralPatientScreen extends StatelessWidget {
),
...List.generate(
model.pendingReferral.length,
(index) => PatientReferralItemWidget(
(index) => InkWell(
onTap: () {
Navigator.of(context).pushNamed(MY_REFERRAL_DETAIL,
arguments: {
'referral': model.pendingReferral[index]
});
},
child: PatientReferralItemWidget(
"${model.pendingReferral[index].patientID}",
patientName: model.pendingReferral[index].patientName,
patientName:
model.pendingReferral[index].patientName,
referralStatus: null,
isReferredTo: false,
isSameBranch: model.pendingReferral[index]
.isReferralDoctorSameBranch,
referralDoctorName:
model.pendingReferral[index].referredByDoctorInfo,
referralDoctorName: model
.pendingReferral[index].referredByDoctorInfo,
clinicDescription: null,
remark:
model.pendingReferral[index].remarksFromSource,
@ -90,6 +98,7 @@ class MyReferralPatientScreen extends StatelessWidget {
),
),
),
),
],
),
),

@ -6,6 +6,7 @@ class AppExpandableNotifier extends StatelessWidget {
final Widget bodyWid;
AppExpandableNotifier({this.headerWid, this.bodyWid});
@override
Widget build(BuildContext context) {
return ExpandableNotifier(
@ -49,6 +50,8 @@ class AppExpandableNotifier extends StatelessWidget {
],
),
),
));
),
initialExpanded: true,
);
}
}

Loading…
Cancel
Save