update
This commit is contained in:
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,
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user