|
|
|
|
@ -31,45 +31,36 @@ class _SearchResultsState extends State<SearchResults> {
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
showNewAppBarTitle: true,
|
|
|
|
|
showNewAppBar: true,
|
|
|
|
|
backgroundColor: CustomColors.appBackgroudGreyColor,
|
|
|
|
|
body: SingleChildScrollView(
|
|
|
|
|
backgroundColor: CustomColors.appBackgroudGrey2Color,
|
|
|
|
|
body: ListView.separated(
|
|
|
|
|
physics: BouncingScrollPhysics(),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
ListView.separated(
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
// padding: EdgeInsets.only(left: 21, right: 21),
|
|
|
|
|
separatorBuilder: (context, index) {
|
|
|
|
|
return Container(
|
|
|
|
|
height: 1,
|
|
|
|
|
margin: EdgeInsets.only(left: 21, right: 21),
|
|
|
|
|
color: Color(0xffD9D9D9),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
return AppExpandableNotifier(
|
|
|
|
|
title:
|
|
|
|
|
widget.patientDoctorAppointmentListHospital[index].filterName + " - " + widget.patientDoctorAppointmentListHospital[index].distanceInKMs + " " + TranslationBase.of(context).km,
|
|
|
|
|
bodyWidget: ListView.separated(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
padding: EdgeInsets.only(bottom: 14, top: 14, left: 21, right: 21),
|
|
|
|
|
itemBuilder: (context, _index) {
|
|
|
|
|
//widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList[_index].speciality = null;
|
|
|
|
|
return DoctorView(
|
|
|
|
|
doctor: widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList[_index],
|
|
|
|
|
isLiveCareAppointment: widget.isLiveCareAppointment,
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
separatorBuilder: (context, index) => SizedBox(height: 14),
|
|
|
|
|
itemCount: widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList.length),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
itemCount: widget.patientDoctorAppointmentListHospital.length,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
separatorBuilder: (context, index) {
|
|
|
|
|
return Container(
|
|
|
|
|
height: 1,
|
|
|
|
|
margin: EdgeInsets.only(left: 21, right: 21),
|
|
|
|
|
color: Color(0xffD9D9D9),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
|
return AppExpandableNotifier(
|
|
|
|
|
title: widget.patientDoctorAppointmentListHospital[index].filterName + " - " + widget.patientDoctorAppointmentListHospital[index].distanceInKMs + " " + TranslationBase.of(context).km,
|
|
|
|
|
isTitleSingleLine: false,
|
|
|
|
|
bodyWidget: ListView.separated(
|
|
|
|
|
shrinkWrap: true,
|
|
|
|
|
physics: NeverScrollableScrollPhysics(),
|
|
|
|
|
padding: EdgeInsets.only(bottom: 14, top: 14, left: 21, right: 21),
|
|
|
|
|
itemBuilder: (context, _index) {
|
|
|
|
|
//widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList[_index].speciality = null;
|
|
|
|
|
return DoctorView(
|
|
|
|
|
doctor: widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList[_index],
|
|
|
|
|
isLiveCareAppointment: widget.isLiveCareAppointment,
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
separatorBuilder: (context, index) => SizedBox(height: 14),
|
|
|
|
|
itemCount: widget.patientDoctorAppointmentListHospital[index].patientDoctorAppointmentList.length),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
itemCount: widget.patientDoctorAppointmentListHospital.length,
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|