|
|
|
@ -51,9 +51,9 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
|
|
children: [
|
|
|
|
|
Image.asset("assets/images/logos/main_mohemm_logo.png", width: 134, height: 24),
|
|
|
|
|
// Image.asset("assets/images/logos/main_mohemm_logo.png", width: 134, height: 24),
|
|
|
|
|
const Icon(Icons.clear).onPress(() => Navigator.pop(context)),
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 4, right: 14),
|
|
|
|
@ -124,32 +124,33 @@ class _AppDrawerState extends State<AppDrawer> {
|
|
|
|
|
// if (AppState().businessCardPrivilege)
|
|
|
|
|
// menuItem("assets/images/drawer/view_business_card.svg", LocaleKeys.viewBusinessCard.tr(), "", closeDrawer: false, onPress: () => showMDialog(context, child: BusinessCardDialog())),
|
|
|
|
|
//
|
|
|
|
|
menuItem("assets/images/support.png", LocaleKeys.help.tr(), "", closeDrawer: true, onPress: () {
|
|
|
|
|
menuItem("assets/images/drawer/help.png", LocaleKeys.help.tr(), "", closeDrawer: true, onPress: () {
|
|
|
|
|
Navigator.pushNamed(context, AppRoutes.help);
|
|
|
|
|
}),
|
|
|
|
|
menuItem("assets/images/support.png", "Hierarchy", "", closeDrawer: true, onPress: () {
|
|
|
|
|
menuItem("assets/images/drawer/hierarchy.png", LocaleKeys.hierarchy.tr(), "", closeDrawer: true, onPress: () {
|
|
|
|
|
Navigator.pushNamed(context, AppRoutes.hierarchy);
|
|
|
|
|
}),
|
|
|
|
|
menuItem("assets/images/drawer/logout.svg", LocaleKeys.logout.tr(), "", color: MyColors.redA3Color, closeDrawer: false, onPress: performLogout),
|
|
|
|
|
// menuItem("assets/images/drawer/logout.svg", LocaleKeys.logout.tr(), "", color: MyColors.redA3Color, closeDrawer: false, onPress: () {Navigator.pushNamed(context, AppRoutes.survey,);
|
|
|
|
|
],
|
|
|
|
|
).expanded,
|
|
|
|
|
const Divider(
|
|
|
|
|
height: 1,
|
|
|
|
|
thickness: 1,
|
|
|
|
|
color: MyColors.lightGreyEFColor,
|
|
|
|
|
),
|
|
|
|
|
// const Divider(
|
|
|
|
|
// height: 1,
|
|
|
|
|
// thickness: 1,
|
|
|
|
|
// color: MyColors.lightGreyEFColor,
|
|
|
|
|
// ),
|
|
|
|
|
Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.end,
|
|
|
|
|
children: [
|
|
|
|
|
RichText(
|
|
|
|
|
text: TextSpan(text: LocaleKeys.poweredBy.tr() + " ", style: const TextStyle(color: MyColors.grey98Color, fontSize: 14, letterSpacing: -0.56, fontWeight: FontWeight.w600), children: [
|
|
|
|
|
TextSpan(
|
|
|
|
|
text: LocaleKeys.cloudSolutions.tr(),
|
|
|
|
|
style: const TextStyle(color: MyColors.grey3AColor, fontSize: 14, letterSpacing: -0.56, fontWeight: FontWeight.w600),
|
|
|
|
|
),
|
|
|
|
|
]),
|
|
|
|
|
).expanded,
|
|
|
|
|
Image.asset("assets/images/logos/bn_cloud_soloution.jpg", width: 40, height: 40)
|
|
|
|
|
// RichText(
|
|
|
|
|
// text: TextSpan(text: LocaleKeys.poweredBy.tr() + " ", style: const TextStyle(color: MyColors.grey98Color, fontSize: 14, letterSpacing: -0.56, fontWeight: FontWeight.w600), children: [
|
|
|
|
|
// TextSpan(
|
|
|
|
|
// text: LocaleKeys.cloudSolutions.tr(),
|
|
|
|
|
// style: const TextStyle(color: MyColors.grey3AColor, fontSize: 14, letterSpacing: -0.56, fontWeight: FontWeight.w600),
|
|
|
|
|
// ),
|
|
|
|
|
// ]),
|
|
|
|
|
// ).expanded,
|
|
|
|
|
Image.asset("assets/images/drawer/moe_logo.png", width: 60, height: 60)
|
|
|
|
|
],
|
|
|
|
|
).paddingOnly(left: 21, right: 21, top: 21)
|
|
|
|
|
],
|
|
|
|
|