|
|
|
|
@ -55,8 +55,7 @@ class _PrescriptionScreenState extends State<PrescriptionScreen> {
|
|
|
|
|
tokenID: token,
|
|
|
|
|
patientTypeID: patient.patientType,
|
|
|
|
|
languageID: 2,
|
|
|
|
|
setupID: 0
|
|
|
|
|
);
|
|
|
|
|
setupID: 0);
|
|
|
|
|
patientsProv.getPatientPrescriptions(prescriptionReqModel.toJson());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -99,7 +98,8 @@ class _PrescriptionScreenState extends State<PrescriptionScreen> {
|
|
|
|
|
SizeConfig.realScreenWidth * 0.05,
|
|
|
|
|
0),
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
itemCount: patientsProv.patientPrescriptionsList.length,
|
|
|
|
|
itemCount:
|
|
|
|
|
patientsProv.patientPrescriptionsList.length,
|
|
|
|
|
itemBuilder: (BuildContext ctxt, int index) {
|
|
|
|
|
return InkWell(
|
|
|
|
|
child: CardWithBgWidget(
|
|
|
|
|
@ -108,7 +108,8 @@ class _PrescriptionScreenState extends State<PrescriptionScreen> {
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Row(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
ProfileImageWidget(url:patientsProv
|
|
|
|
|
ProfileImageWidget(
|
|
|
|
|
url: patientsProv
|
|
|
|
|
.patientPrescriptionsList[index]
|
|
|
|
|
.doctorImageURL),
|
|
|
|
|
Expanded(
|
|
|
|
|
@ -123,15 +124,18 @@ class _PrescriptionScreenState extends State<PrescriptionScreen> {
|
|
|
|
|
'${patientsProv.patientPrescriptionsList[index].doctorName}',
|
|
|
|
|
fontSize: 2.5 *
|
|
|
|
|
SizeConfig.textMultiplier,
|
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
AppText(
|
|
|
|
|
' ${patientsProv.patientPrescriptionsList[index].clinicDescription}',
|
|
|
|
|
fontSize: 2.5 *
|
|
|
|
|
fontSize: 2 *
|
|
|
|
|
SizeConfig
|
|
|
|
|
.textMultiplier),
|
|
|
|
|
.textMultiplier,
|
|
|
|
|
color: Theme.of(context)
|
|
|
|
|
.primaryColor),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 8,
|
|
|
|
|
),
|
|
|
|
|
|