currentTabIndex method

dynamic currentTabIndex(
  1. int tabIndex
)

Update the tab index

Implementation

currentTabIndex(int tabIndex) {
  updateState(state, data: {"action": "update-tab", "tab-index": tabIndex});
}