This commit is contained in:
kejaro committed 2026-09-27 22:22:16 +01:00
1 parent 212410f716
commit 1ecbd7b6b1
34 files changed
+107 -155

No files matched your search

@@ -86,17 +86,19 @@ class ResponsiveScaffold extends StatelessWidget {
child: body,
),
),
bottomNavigationBar: NavigationBar(
selectedIndex: selectedIndex,
onDestinationSelected: onDestinationSelected,
destinations: destinations.map((d) {
return NavigationDestination(
icon: d.icon,
selectedIcon: d.selectedIcon,
label: d.label,
);
}).toList(),
),
bottomNavigationBar: destinations.length >= 2
? NavigationBar(
selectedIndex: selectedIndex,
onDestinationSelected: onDestinationSelected,
destinations: destinations.map((d) {
return NavigationDestination(
icon: d.icon,
selectedIcon: d.selectedIcon,
label: d.label,
);
}).toList(),
)
: null,
floatingActionButton: floatingActionButton,
);
},