|
|
|
@ -46,7 +46,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
child: ListView(padding: EdgeInsets.zero, children: <Widget>[
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 20),
|
|
|
|
|
height: SizeConfig.heightMultiplier * 50,
|
|
|
|
|
// height: SizeConfig.heightMultiplier * 50,
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
children: [
|
|
|
|
@ -54,9 +54,9 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
child: Image.asset(
|
|
|
|
|
'assets/images/dr_app_logo.png',
|
|
|
|
|
),
|
|
|
|
|
margin: EdgeInsets.only(top: 10, bottom: 15),
|
|
|
|
|
margin: EdgeInsets.only(top: 10, bottom: 10),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 15),
|
|
|
|
|
SizedBox(height: 10),
|
|
|
|
|
if (authProvider.doctorProfile != null)
|
|
|
|
|
InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
@ -91,7 +91,7 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(height: 15),
|
|
|
|
|
SizedBox(height: 10),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(
|
|
|
|
|
TranslationBase.of(context).rescheduleLeaves,
|
|
|
|
@ -111,6 +111,29 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
));
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
SizedBox(height: 10),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(
|
|
|
|
|
'My QR Code',
|
|
|
|
|
// " or " +
|
|
|
|
|
// TranslationBase.of(context).leaves,
|
|
|
|
|
|
|
|
|
|
DoctorApp.qr_code_3,
|
|
|
|
|
// subTitle: ,
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
InkWell(
|
|
|
|
|
child: Container(
|
|
|
|
|
height: 80,
|
|
|
|
|
child: Image.asset('assets/images/qr_code.png'),
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
@ -121,6 +144,8 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: 20),
|
|
|
|
|
child: Column(
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(
|
|
|
|
|
projectsProvider.isArabic
|
|
|
|
|