added notification some design and added item to navbar
This commit is contained in:
@@ -59,11 +59,41 @@ class TabletNavigationWidget extends StatelessWidget {
|
||||
),
|
||||
_navigationItem(
|
||||
context: context,
|
||||
text: ProfileStrings.profileTitle,
|
||||
text: ProfileStrings.contracts,
|
||||
isActive: currentIndex == 2,
|
||||
onTap: () {
|
||||
if (currentIndex == 2) {
|
||||
return;
|
||||
} else {
|
||||
// context.pop();
|
||||
// Router.neglect(context, () => ProfileRouteData().go(context));
|
||||
}
|
||||
},
|
||||
iconPath: AssetsManager.contracts,
|
||||
activeIconPath: AssetsManager.contracts,
|
||||
),
|
||||
_navigationItem(
|
||||
context: context,
|
||||
text: ProfileStrings.notifications,
|
||||
isActive: currentIndex == 3,
|
||||
onTap: () {
|
||||
if (currentIndex == 3) {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(context, () => NotificationRouteData().go(context));
|
||||
}
|
||||
},
|
||||
iconPath: AssetsManager.notify,
|
||||
activeIconPath: AssetsManager.notifyActive,
|
||||
),
|
||||
_navigationItem(
|
||||
context: context,
|
||||
text: ProfileStrings.profileTitle,
|
||||
isActive: currentIndex == 4,
|
||||
onTap: () {
|
||||
if (currentIndex == 4) {
|
||||
return;
|
||||
} else {
|
||||
context.pop();
|
||||
Router.neglect(context, () => ProfileRouteData().go(context));
|
||||
|
||||
Reference in New Issue
Block a user