Merge branch 'mohammad' into 'master'

add arrow back in PatientProfileScreen , PatientSearchScreen and PatientsScreen

See merge request Cloud_Solution/doctor_app_flutter!92
merge-requests/91/head^2
Mohammad Aljammal 6 years ago
commit 7297eb6faa

@ -116,6 +116,8 @@ class _PatientSearchScreenState extends State<PatientSearchScreen> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AppScaffold( return AppScaffold(
appBarTitle: "SEARCH FOR PATIENT", appBarTitle: "SEARCH FOR PATIENT",
showBottomBar: false,
showAppDrawer: false,
body: ListView( body: ListView(
children: <Widget>[ children: <Widget>[
RoundedContainer( RoundedContainer(

@ -296,6 +296,8 @@ class _PatientsScreenState extends State<PatientsScreen> {
PatientsProvider patientsProv = Provider.of<PatientsProvider>(context); PatientsProvider patientsProv = Provider.of<PatientsProvider>(context);
return AppScaffold( return AppScaffold(
showBottomBar: false,
showAppDrawer: false,
appBarTitle: patientTypetitle, appBarTitle: patientTypetitle,
body: _isLoading body: _isLoading
? DrAppCircularProgressIndeicator() ? DrAppCircularProgressIndeicator()
@ -402,7 +404,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
semanticsLabel: semanticsLabel:
'Female Logo') 'Female Logo')
], ],
), ),
SizedBox( SizedBox(
width: 10, width: 10,
@ -441,7 +443,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
backGroundcolor: backGroundcolor:
Colors.white, Colors.white,
), ),
// SizedBox( // SizedBox(
// height: 8, // height: 8,
// ), // ),
@ -591,7 +593,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
child: Center( child: Center(
child: Text( child: Text(
item, item,
style: TextStyle( style: TextStyle(
fontSize: 12, fontSize: 12,
color: _isActive color: _isActive
@ -613,7 +615,7 @@ class _PatientsScreenState extends State<PatientsScreen> {
setState(() { setState(() {
_activeLocation = _locations.indexOf(item); _activeLocation = _locations.indexOf(item);
}); });
}), }),
_isActive _isActive

@ -10,6 +10,8 @@ class PatientProfileScreen extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return AppScaffold( return AppScaffold(
// child: child, // child: child,
showBottomBar: false,
showAppDrawer: false,
appBarTitle: 'Patient Profile', appBarTitle: 'Patient Profile',
body: PatientProfileWidget(), body: PatientProfileWidget(),
); );

Loading…
Cancel
Save