Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update packages/flutter_adaptive_scaffold/lib/src/adaptive_scaffold.dart
Co-authored-by: Greg Spencer <[email protected]>
  • Loading branch information
joshryandavis and gspencergoog authored Jan 25, 2023
commit 093011e9938ce417a716716158f1aedda68657c5
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class AdaptiveScaffold extends StatefulWidget {
return Builder(
builder: (_) {
return BottomNavigationBar(
currentIndex: currentIndex!,
currentIndex: currentIndex ?? 0,
iconSize: iconSize,
items: destinations
.map((NavigationDestination e) => _toBottomNavItem(e))
Expand Down