From 45f4aa9a22404a78d3b579ebaca2e30c729c9962 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Mon, 25 Oct 2021 11:09:03 +0300 Subject: [PATCH] fix issues related to design --- .../profile/diagnosis/diagnosis_screen.dart | 2 +- .../nursing_note/nursing_note_screen.dart | 2 +- .../operation_report/operation_report.dart | 18 +----------------- 3 files changed, 3 insertions(+), 19 deletions(-) diff --git a/lib/screens/patients/profile/diagnosis/diagnosis_screen.dart b/lib/screens/patients/profile/diagnosis/diagnosis_screen.dart index 5751896e..2abc55ea 100644 --- a/lib/screens/patients/profile/diagnosis/diagnosis_screen.dart +++ b/lib/screens/patients/profile/diagnosis/diagnosis_screen.dart @@ -92,7 +92,7 @@ class _ProgressNoteState extends State { widthFactor: 0.95, child: CardWithBgWidget( hasBorder: false, - bgColor: Colors.black38, + bgColor: Colors.transparent, widget: Column( children: [ Column( diff --git a/lib/screens/patients/profile/notes/nursing_note/nursing_note_screen.dart b/lib/screens/patients/profile/notes/nursing_note/nursing_note_screen.dart index d00e1b54..d683bab4 100644 --- a/lib/screens/patients/profile/notes/nursing_note/nursing_note_screen.dart +++ b/lib/screens/patients/profile/notes/nursing_note/nursing_note_screen.dart @@ -94,7 +94,7 @@ class _ProgressNoteState extends State { widthFactor: 0.95, child: CardWithBgWidget( hasBorder: false, - bgColor: Colors.black38, + bgColor: Colors.transparent, widget: Column( children: [ Column( diff --git a/lib/screens/patients/profile/operation_report/operation_report.dart b/lib/screens/patients/profile/operation_report/operation_report.dart index 14ebbc86..7ce54b7d 100644 --- a/lib/screens/patients/profile/operation_report/operation_report.dart +++ b/lib/screens/patients/profile/operation_report/operation_report.dart @@ -127,23 +127,7 @@ class _ProgressNoteState extends State { widthFactor: 0.95, child: CardWithBgWidget( hasBorder: false, - bgColor: model.operationReportList[index] - .status == - 1 && - authenticationViewModel - .doctorProfile.doctorID != - model.operationReportList[index] - .createdBy - ? Color(0xFFCC9B14) - : model.operationReportList[index] - .status == - 4 - ? Colors.red.shade700 - : model.operationReportList[index] - .status == - 2 - ? Colors.green[600] - : Color(0xFFCC9B14), + bgColor: Colors.white, widget: Column( children: [ Column(