Skip to content

Commit e110583

Browse files
Correct-SyntaxFilledStacks
authored andcommitted
Fix IndexTrackingViewModel section
1 parent 616ae7a commit e110583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/in-depth/viewmodels.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ class HomeView extends StatelessWidget {
483483
type: BottomNavigationBarType.fixed,
484484
backgroundColor: Colors.grey[800],
485485
currentIndex: viewModel.currentTabIndex,
486-
onTap: viewModel.setTabIndex,
486+
onTap: viewModel.setIndex,
487487
items: [
488488
BottomNavigationBarItem(
489489
title: Text('Posts'),

0 commit comments

Comments
 (0)