diff --git a/lib/screens/profile_screen.dart b/lib/screens/profile_screen.dart index 30b7e6f0..979e187d 100644 --- a/lib/screens/profile_screen.dart +++ b/lib/screens/profile_screen.dart @@ -35,20 +35,19 @@ class _ProfileScreenState extends State { appBarTitle: TranslationBase.of(context).profile, body: ListView(padding: EdgeInsets.zero, children: [ Container( - height:MediaQuery.of(context).size.height * 0.35, //SizeConfig.heightMultiplier * 35, + height: MediaQuery.of(context).size.height * + 0.35, //SizeConfig.heightMultiplier * 35, child: Container( - child: DrawerHeader( - child: Container( - child: ProfileImageWidget( - url:doctorProfile.doctorImageURL, - //"https://p.kindpng.com/picc/s/404-4042774_profile-photo-circle-circle-profile-picture-png-transparent.png", - name: doctorProfile.doctorName,//"Dr. Chris evans", - des: doctorProfile.clinicDescription//"Director of medical records", - ), + url: doctorProfile.doctorImageURL, + //"https://p.kindpng.com/picc/s/404-4042774_profile-photo-circle-circle-profile-picture-png-transparent.png", + name: doctorProfile.doctorName, //"Dr. Chris evans", + des: doctorProfile + .clinicDescription //"Director of medical records", + ), ), ), ), @@ -90,4 +89,3 @@ class _ProfileScreenState extends State { ])); } } -