♻️ Refactored nav completely

This commit is contained in:
2025-03-22 18:39:01 +08:00
parent 237abe564d
commit b4990308e9
10 changed files with 87 additions and 38 deletions

View File

@ -25,13 +25,10 @@ class NavigationProvider extends ChangeNotifier {
int? get currentIndex => _currentIndex;
static const List<String> kShowBottomNavScreen = [
'home',
'explore',
'account',
'album',
'chat',
];
List<String> get showBottomNavScreen => destinations
.where((ele) => ele.isPinned)
.map((ele) => ele.screen)
.toList();
static const List<AppNavDestination> kAllDestination = [
AppNavDestination(