Realms creation

This commit is contained in:
2024-05-28 22:13:23 +08:00
parent 99f3211151
commit c50a49f37d
8 changed files with 514 additions and 97 deletions

View File

@ -13,6 +13,11 @@ abstract class AppNavigation {
label: 'contact'.tr,
page: 'contact',
),
AppNavigationDestination(
icon: const Icon(Icons.workspaces),
label: 'realms'.tr,
page: 'realms',
),
AppNavigationDestination(
icon: const Icon(Icons.account_circle),
label: 'account'.tr,
@ -26,6 +31,9 @@ class AppNavigationDestination {
final String label;
final String page;
AppNavigationDestination(
{required this.icon, required this.label, required this.page});
AppNavigationDestination({
required this.icon,
required this.label,
required this.page,
});
}

View File

@ -23,6 +23,7 @@ class _AppNavigationBottomBarState extends State<AppNavigationBottomBar> {
),
)
.toList(),
type: BottomNavigationBarType.fixed,
landscapeLayout: BottomNavigationBarLandscapeLayout.centered,
currentIndex: _selectedIndex,
showUnselectedLabels: false,