Refactor navigation structure and update asset references

- Swapped routes for Profile and Notification branches in the app's navigation structure.
- Updated the current index for navigation items in TabletNavigationWidget and related pages to reflect the new routing.
- Added a new logo SVG asset to the asset manager for branding consistency.
- Adjusted the pubspec.lock file to downgrade several package versions for compatibility.
This commit is contained in:
amirrezaghabeli
2025-11-22 15:29:46 +03:30
parent d01e028dc1
commit ae8501dc36
8 changed files with 71 additions and 66 deletions
@@ -50,19 +50,19 @@ class MobileShellPage extends StatelessWidget {
iconPath: AssetsManager.tenders,
activeIconPath: AssetsManager.tendersActive,
),
_bottomNavigationItem(
context: context,
text: TendersStrings.contracts,
isActive: navigationShell.currentIndex == 4,
onTap: () => onTap(4),
iconPath: AssetsManager.contracts,
activeIconPath: AssetsManager.contracts,
),
// _bottomNavigationItem(
// context: context,
// text: TendersStrings.contracts,
// isActive: navigationShell.currentIndex == 4,
// onTap: () => onTap(4),
// iconPath: AssetsManager.contracts,
// activeIconPath: AssetsManager.contracts,
// ),
_bottomNavigationItem(
context: context,
text: TendersStrings.notifications,
isActive: navigationShell.currentIndex == 3,
onTap: () => onTap(3),
isActive: navigationShell.currentIndex == 2,
onTap: () => onTap(2),
iconPath: AssetsManager.notify,
activeIconPath: AssetsManager.notifyActive,
showBadge:
@@ -73,8 +73,8 @@ class MobileShellPage extends StatelessWidget {
_bottomNavigationItem(
context: context,
text: ProfileStrings.profileTitle,
isActive: navigationShell.currentIndex == 2,
onTap: () => onTap(2),
isActive: navigationShell.currentIndex == 3,
onTap: () => onTap(3),
iconPath: AssetsManager.profile,
activeIconPath: AssetsManager.profileActive,
),