change the color desing in profile

merge-requests/52/head
Elham Rababah 6 years ago
parent 7c291f8d63
commit 8594f1a498

@ -108,9 +108,11 @@ class _LabOrdersScreenState extends State<LabOrdersScreen> {
children: <Widget>[ children: <Widget>[
Row( Row(
children: <Widget>[ children: <Widget>[
ProfileImageWidget(url:patientsProv ProfileImageWidget(
.patientLabResultOrdersList[index] url: patientsProv
.doctorImageURL), .patientLabResultOrdersList[
index]
.doctorImageURL),
Expanded( Expanded(
child: Padding( child: Padding(
padding: const EdgeInsets.fromLTRB( padding: const EdgeInsets.fromLTRB(
@ -123,15 +125,18 @@ class _LabOrdersScreenState extends State<LabOrdersScreen> {
'${patientsProv.patientLabResultOrdersList[index].doctorName}', '${patientsProv.patientLabResultOrdersList[index].doctorName}',
fontSize: 2.5 * fontSize: 2.5 *
SizeConfig.textMultiplier, SizeConfig.textMultiplier,
fontWeight: FontWeight.bold,
), ),
SizedBox( SizedBox(
height: 8, height: 8,
), ),
AppText( AppText(
' ${patientsProv.patientLabResultOrdersList[index].clinicName}', ' ${patientsProv.patientLabResultOrdersList[index].clinicName}',
fontSize: 2.5 * fontSize: 2 *
SizeConfig SizeConfig.textMultiplier,
.textMultiplier), color: Theme.of(context)
.primaryColor,
),
SizedBox( SizedBox(
height: 8, height: 8,
), ),

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

@ -123,23 +123,27 @@ class _RadiologyScreenState extends State<RadiologyScreen> {
'${patientsProv.patientRadiologyList[index].doctorName}', '${patientsProv.patientRadiologyList[index].doctorName}',
fontSize: 2.5 * fontSize: 2.5 *
SizeConfig.textMultiplier, SizeConfig.textMultiplier,
fontWeight: FontWeight.bold
), ),
SizedBox( SizedBox(
height: 8, height: 8,
), ),
AppText( AppText(
'Invoice No:${patientsProv.patientRadiologyList[index].invoiceNo}', 'Invoice No:${patientsProv.patientRadiologyList[index].invoiceNo}',
fontSize: 2.5 * fontSize: 2 *
SizeConfig.textMultiplier, SizeConfig.textMultiplier,
), ),
SizedBox( SizedBox(
height: 8, height: 8,
), ),
AppText( AppText(
' ${patientsProv.patientRadiologyList[index].clinicName}', ' ${patientsProv.patientRadiologyList[index].clinicName}',
fontSize: 2.5 * fontSize: 2 *
SizeConfig SizeConfig.textMultiplier,
.textMultiplier), color: Theme.of(context)
.primaryColor,
),
SizedBox( SizedBox(
height: 8, height: 8,
), ),

@ -109,9 +109,10 @@ class _VitalSignScreenState extends State<VitalSignScreen> {
children: <Widget>[ children: <Widget>[
Row( Row(
children: <Widget>[ children: <Widget>[
ProfileImageWidget(url:patientsProv ProfileImageWidget(
.patientVitalSignList[index] url: patientsProv
.doctorImageURL), .patientVitalSignList[index]
.doctorImageURL),
Expanded( Expanded(
child: Padding( child: Padding(
padding: const EdgeInsets.fromLTRB( padding: const EdgeInsets.fromLTRB(
@ -124,15 +125,18 @@ class _VitalSignScreenState extends State<VitalSignScreen> {
'${patientsProv.patientVitalSignList[index].doctorName}', '${patientsProv.patientVitalSignList[index].doctorName}',
fontSize: 2.5 * fontSize: 2.5 *
SizeConfig.textMultiplier, SizeConfig.textMultiplier,
fontWeight: FontWeight.bold,
), ),
SizedBox( SizedBox(
height: 8, height: 8,
), ),
AppText( AppText(
' ${patientsProv.patientVitalSignList[index].clinicName}', ' ${patientsProv.patientVitalSignList[index].clinicName}',
fontSize: 2.5 * fontSize: 2 *
SizeConfig SizeConfig.textMultiplier,
.textMultiplier), color: Theme.of(context)
.primaryColor,
),
SizedBox( SizedBox(
height: 8, height: 8,
), ),

Loading…
Cancel
Save