|
|
|
|
@ -4,8 +4,8 @@ import 'package:mohem_flutter_app/config/routes.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/ui/dialogs/id/employee_digital_id_dialog.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/ui/landing/widget/drawer_item.dart';
|
|
|
|
|
|
|
|
|
|
import '../../../widgets/dialogs/dialogs.dart';
|
|
|
|
|
import '../../dialogs/id/business_card_dialog.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/widgets/dialogs/dialogs.dart';
|
|
|
|
|
import 'package:mohem_flutter_app/ui/dialogs/id/business_card_dialog.dart';
|
|
|
|
|
|
|
|
|
|
class AppDrawer extends StatefulWidget {
|
|
|
|
|
@override
|
|
|
|
|
@ -40,55 +40,26 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
}),
|
|
|
|
|
const Divider(),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: const DrawerItem(
|
|
|
|
|
'Mowadhafhi',
|
|
|
|
|
icon: Icons.person,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
drawerNavigator(context, AppRoutes.mowadhafhi);
|
|
|
|
|
}),
|
|
|
|
|
child: const DrawerItem(
|
|
|
|
|
'Mowadhafhi',
|
|
|
|
|
icon: Icons.person,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
drawerNavigator(context, AppRoutes.mowadhafhi);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
const Divider(),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: const DrawerItem(
|
|
|
|
|
'Pending Transactions',
|
|
|
|
|
icon: Icons.person,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
drawerNavigator(context, AppRoutes.pendingTransactions);
|
|
|
|
|
})
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
child: Drawer(
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
const SizedBox(
|
|
|
|
|
height: 200,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: ListView(
|
|
|
|
|
padding: const EdgeInsets.all(21),
|
|
|
|
|
physics: const BouncingScrollPhysics(),
|
|
|
|
|
children: [
|
|
|
|
|
Divider(),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(
|
|
|
|
|
'My Profile',
|
|
|
|
|
child: const DrawerItem(
|
|
|
|
|
'Pending Transactions',
|
|
|
|
|
icon: Icons.person,
|
|
|
|
|
color: Colors.grey,
|
|
|
|
|
),
|
|
|
|
|
onTap: () {
|
|
|
|
|
drawerNavigator(context, AppRoutes.profile);
|
|
|
|
|
drawerNavigator(context, AppRoutes.pendingTransactions);
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
Divider(),
|
|
|
|
|
InkWell(
|
|
|
|
|
child: DrawerItem(
|
|
|
|
|
'Employee Digital ID',
|
|
|
|
|
|