change company dari andy

This commit is contained in:
sindhu
2024-01-17 17:05:08 +07:00
parent 774d70884a
commit 7986d68560
6 changed files with 329 additions and 18 deletions

View File

@@ -250,6 +250,28 @@ class CustomDrawer extends HookConsumerWidget {
ref.read(currentPageProvider.state).update((state) => 3);
Navigator.pushNamed(context, reportRoute);
},
),
ListTile(
leading: Icon(
Icons.account_balance,
color: (currentMenu == 4)
? Constant.pcBtnBackgroundColor
: Constant.textGreyv2,
),
title: Text(
'Change Company',
style: TextStyle(
color: (currentMenu == 4)
? Constant.pcBtnBackgroundColor
: Constant.textGreyv2,
),
),
onTap: () {
// Handle navigation to Transaksi screen
Navigator.pop(context);
ref.read(currentPageProvider.state).update((state) => 4);
Navigator.pushNamed(context, changeCompanyRoute);
},
),
ListTile(
leading: Icon(