step 31 : total history, change password, resize image from camera, update versi 1.2.0
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user