isIndexSelected method

bool isIndexSelected(
  1. int index
)

Implementation

bool isIndexSelected(int index) => _currentIndex.value == index;