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',
body: ListView(padding: EdgeInsets.zero, children: <Widget>[
Container(
height: SizeConfig.heightMultiplier * 30,
child: DrawerHeader(
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",
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",
),
),
),
),
),
RoundedContainer(
child: ListView(
children: <Widget>[

Loading…
Cancel
Save