step 31 : total history, change password, resize image from camera, update versi 1.2.0

This commit is contained in:
sindhu
2024-01-22 10:25:31 +07:00
parent c67f771d25
commit 4e3d251169
15 changed files with 864 additions and 12 deletions

View File

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