diff --git a/lib/widgets/shared/app_drawer_widget.dart b/lib/widgets/shared/app_drawer_widget.dart index 41d58931..6193204d 100644 --- a/lib/widgets/shared/app_drawer_widget.dart +++ b/lib/widgets/shared/app_drawer_widget.dart @@ -46,7 +46,7 @@ class _AppDrawerState extends State { child: ListView(padding: EdgeInsets.zero, children: [ 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 { 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 { ], ), ), - SizedBox(height: 15), + SizedBox(height: 10), InkWell( child: DrawerItem( TranslationBase.of(context).rescheduleLeaves, @@ -111,6 +111,29 @@ class _AppDrawerState extends State { )); }, ), + + 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 { margin: EdgeInsets.symmetric(horizontal: 20), child: Column( children: [ + + InkWell( child: DrawerItem( projectsProvider.isArabic