[Change Pass] 1. add Change Password Fiture

This commit is contained in:
Stephen
2024-01-19 14:44:20 +07:00
parent 7986d68560
commit f03266674a
5 changed files with 522 additions and 21 deletions

View File

@@ -272,6 +272,28 @@ class CustomDrawer extends HookConsumerWidget {
ref.read(currentPageProvider.state).update((state) => 4);
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(