Modify Dr profile data dynamic size

merge-requests/119/head
Amjad Amireh 4 years ago
parent 5ced4990b9
commit 230bdb2430

@ -37,16 +37,26 @@ class _ProfileScreenState extends State<ProfileScreen> {
appBarTitle: 'Profile', appBarTitle: 'Profile',
body: ListView(padding: EdgeInsets.zero, children: <Widget>[ body: ListView(padding: EdgeInsets.zero, children: <Widget>[
Container( Container(
height: SizeConfig.heightMultiplier * 30, height:MediaQuery.of(context).size.height * 0.35, //SizeConfig.heightMultiplier * 35,
child: DrawerHeader(
child: ProfileImageWidget( child: Container(
url:doctorProfile.doctorImageURL,
//"https://p.kindpng.com/picc/s/404-4042774_profile-photo-circle-circle-profile-picture-png-transparent.png", child: DrawerHeader(
name: doctorProfile.doctorName,//"Dr. Chris evans",
des: doctorProfile.clinicDescription//"Director of medical records", 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",
),
),
), ),
), ),
), ),
RoundedContainer( RoundedContainer(
child: ListView( child: ListView(
children: <Widget>[ children: <Widget>[

Loading…
Cancel
Save