added notification some design and added item to navbar

This commit is contained in:
llsajjad
2025-09-13 08:03:54 +03:30
parent 91a2f11393
commit ffa964f7e5
17 changed files with 561 additions and 38 deletions
@@ -48,6 +48,22 @@ 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.notifications,
isActive: navigationShell.currentIndex == 3,
onTap: () => onTap(3),
iconPath: AssetsManager.notify,
activeIconPath: AssetsManager.notifyActive,
),
_bottomNavigationItem(
context: context,
text: ProfileStrings.profileTitle,
@@ -76,7 +92,10 @@ class MobileShellPage extends StatelessWidget {
width: 64.0.w(),
height: 72.0.h(),
child: Padding(
padding: EdgeInsets.only(top: 12.0.h(), bottom: 14.0.h()),
padding:
iconPath != AssetsManager.notify
? EdgeInsets.only(top: 12.0.h(), bottom: 14.0.h())
: EdgeInsets.only(top: 6.0.h(), bottom: 12.0.h()),
child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@@ -84,10 +103,11 @@ class MobileShellPage extends StatelessWidget {
Text(
text,
maxLines: 1,
style: TextStyle(
fontSize: 12.0.sp(),
fontSize:
iconPath == AssetsManager.notify ? 11.0.sp() : 12.0.sp(),
fontWeight: FontWeight.w400,
color: isActive ? AppColors.primaryColor : AppColors.grey60,
),
),