From 3eeac2734bde8a0c15329769617cb892256520cc Mon Sep 17 00:00:00 2001 From: Amjad Amireh Date: Thu, 11 Jun 2020 12:16:51 +0300 Subject: [PATCH 1/2] Modify Patiant screen List style --- lib/screens/patients/profile/progress_note_screen.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/patients/profile/progress_note_screen.dart b/lib/screens/patients/profile/progress_note_screen.dart index 07f0ff88..f9d8be44 100644 --- a/lib/screens/patients/profile/progress_note_screen.dart +++ b/lib/screens/patients/profile/progress_note_screen.dart @@ -20,7 +20,7 @@ DrAppSharedPreferances sharedPref = new DrAppSharedPreferances(); /* *@author: ibrahim albitar *@Date:15/5/2020 - *@param: + *@param: ' *@return: *@desc: */ @@ -182,7 +182,7 @@ class _ProgressNoteState extends State { if (strExist) { filteredNotesList = null; - filteredNotesList = notesList + filteredNotesList = patientsProv.patientProgressNoteList .where((note) => note["DoctorName"].toString().contains(str.toUpperCase())) .toList(); From e0b841a4c13e50d19948e27a64ee0024bf75391f Mon Sep 17 00:00:00 2001 From: Amjad Amireh Date: Thu, 11 Jun 2020 12:24:41 +0300 Subject: [PATCH 2/2] change font size --- lib/screens/dashboard_screen.dart | 4 ++-- lib/widgets/patients/dynamic_elements.dart | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/screens/dashboard_screen.dart b/lib/screens/dashboard_screen.dart index a00471df..20557aeb 100644 --- a/lib/screens/dashboard_screen.dart +++ b/lib/screens/dashboard_screen.dart @@ -238,7 +238,7 @@ class _DashboardScreenState extends State { valueFontColor: Colors.black, titleFontColor: Colors.black, iconColor: Colors.black, - titleFontSize: 16, + titleFontSize: 14, ), onTap: () { Navigator.of(context).pushNamed(PATIENT_SEARCH); @@ -268,7 +268,7 @@ class _DashboardScreenState extends State { valueFontColor: Colors.black, titleFontColor: Colors.black, iconColor: Colors.black, - titleFontSize: 16, + titleFontSize: 14, ), ), ), diff --git a/lib/widgets/patients/dynamic_elements.dart b/lib/widgets/patients/dynamic_elements.dart index 8b6fc5a8..be66e88e 100644 --- a/lib/widgets/patients/dynamic_elements.dart +++ b/lib/widgets/patients/dynamic_elements.dart @@ -50,7 +50,7 @@ class _DynamicElementsState extends State { AppTextFormField( textInputType: TextInputType.number, hintText: 'From', - controller: _fromDateController, //_fromDateController, + controller: _fromDateController, inputFormatter: ONLY_DATE, onTap: () { @@ -83,7 +83,7 @@ class _DynamicElementsState extends State { AppTextFormField( textInputType: TextInputType.number, hintText: 'TO', - controller: _fromDateController, //_toDateController, + controller: _toDateController, onTap: () { _presentDatePicker('_selectedToDate'); },