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:
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user