selectIndex method

void selectIndex(
  1. int val
)

Implementation

void selectIndex(int val) {
  _selectedIndex = val;
  notifyListeners();
}