We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616ae7a commit e110583Copy full SHA for e110583
docs/in-depth/viewmodels.md
@@ -483,7 +483,7 @@ class HomeView extends StatelessWidget {
483
type: BottomNavigationBarType.fixed,
484
backgroundColor: Colors.grey[800],
485
currentIndex: viewModel.currentTabIndex,
486
- onTap: viewModel.setTabIndex,
+ onTap: viewModel.setIndex,
487
items: [
488
BottomNavigationBarItem(
489
title: Text('Posts'),
0 commit comments