From 5d7937c08daf6773165ec11909e4a7a2eb69173b Mon Sep 17 00:00:00 2001 From: Mohammad ALjammal Date: Wed, 3 Jun 2020 17:28:31 +0300 Subject: [PATCH] add arrow back in PatientProfileScreen , PatientSearchScreen and PatientsScreen --- lib/screens/patients/patient_search_screen.dart | 2 ++ lib/screens/patients/patients_screen.dart | 10 ++++++---- .../patients/profile/patient_profile_screen.dart | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/screens/patients/patient_search_screen.dart b/lib/screens/patients/patient_search_screen.dart index d00aabdb..dfccc188 100644 --- a/lib/screens/patients/patient_search_screen.dart +++ b/lib/screens/patients/patient_search_screen.dart @@ -116,6 +116,8 @@ class _PatientSearchScreenState extends State { Widget build(BuildContext context) { return AppScaffold( appBarTitle: "SEARCH FOR PATIENT", + showBottomBar: false, + showAppDrawer: false, body: ListView( children: [ RoundedContainer( diff --git a/lib/screens/patients/patients_screen.dart b/lib/screens/patients/patients_screen.dart index bcdc4218..b5ec9b83 100644 --- a/lib/screens/patients/patients_screen.dart +++ b/lib/screens/patients/patients_screen.dart @@ -296,6 +296,8 @@ class _PatientsScreenState extends State { PatientsProvider patientsProv = Provider.of(context); return AppScaffold( + showBottomBar: false, + showAppDrawer: false, appBarTitle: patientTypetitle, body: _isLoading ? DrAppCircularProgressIndeicator() @@ -402,7 +404,7 @@ class _PatientsScreenState extends State { semanticsLabel: 'Female Logo') ], - + ), SizedBox( width: 10, @@ -441,7 +443,7 @@ class _PatientsScreenState extends State { backGroundcolor: Colors.white, ), - + // SizedBox( // height: 8, // ), @@ -591,7 +593,7 @@ class _PatientsScreenState extends State { child: Center( child: Text( item, - + style: TextStyle( fontSize: 12, color: _isActive @@ -613,7 +615,7 @@ class _PatientsScreenState extends State { setState(() { _activeLocation = _locations.indexOf(item); - + }); }), _isActive diff --git a/lib/screens/patients/profile/patient_profile_screen.dart b/lib/screens/patients/profile/patient_profile_screen.dart index 5241f18c..20954d38 100644 --- a/lib/screens/patients/profile/patient_profile_screen.dart +++ b/lib/screens/patients/profile/patient_profile_screen.dart @@ -10,6 +10,8 @@ class PatientProfileScreen extends StatelessWidget { Widget build(BuildContext context) { return AppScaffold( // child: child, + showBottomBar: false, + showAppDrawer: false, appBarTitle: 'Patient Profile', body: PatientProfileWidget(), );