@@ -42,6 +42,7 @@ class AppShell extends StatelessWidget {
42
42
final l10n = context.l10n;
43
43
44
44
return AdaptiveScaffold (
45
+ useDrawer: false ,
45
46
// Use the index from the navigationShell to sync the selected destination.
46
47
selectedIndex: navigationShell.currentIndex,
47
48
// Callback when a destination is selected.
@@ -71,25 +72,6 @@ class AppShell extends StatelessWidget {
71
72
// The body displays the widget tree for the currently selected branch.
72
73
// The [NavigationShell] widget handles building the appropriate page.
73
74
body: (_) => navigationShell,
74
-
75
- // Optional: Configure small screen navigation type (defaults to bottomNav)
76
- // smallBreakpoint: const WidthPlatformBreakpoint(end: 700),
77
- // smallBuilder: (_, __) => AdaptiveScaffold.standardBottomNavigationBar(
78
- // destinations: destinations,
79
- // ),
80
-
81
- // Optional: Configure medium screen navigation type (defaults to navRail)
82
- // mediumBreakpoint: const WidthPlatformBreakpoint(begin: 700, end: 1000),
83
- // mediumBuilder: (_, __, ___) => AdaptiveScaffold.standardNavigationRail(
84
- // destinations: destinations,
85
- // // leading: const Icon(Icons.menu), // Example leading widget
86
- // ),
87
-
88
- // Optional: Configure large screen navigation type (defaults to drawer)
89
- // largeBreakpoint: const WidthPlatformBreakpoint(begin: 1000),
90
- // largeBuilder: (_, __, ___) => AdaptiveScaffold.standardNavigationDrawer(
91
- // destinations: destinations,
92
- // ),
93
75
);
94
76
}
95
77
}
0 commit comments