setCurrentHomeTabIndex method
- int index
Persist the new tab after switching home tabs.
Implementation
Future<void> setCurrentHomeTabIndex(int index) async {
await _preferences.put('current_home_tab_index', index);
}
Persist the new tab after switching home tabs.
Future<void> setCurrentHomeTabIndex(int index) async {
await _preferences.put('current_home_tab_index', index);
}